Removing unneeded macro.

-----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.11 (GNU/Linux)
 
 iQEcBAABAgAGBQJQqm4MAAoJEAf03oE53VmQ+QoIAL+g/aqAfC6bcuKjceFVLp7w
 p0CaYGv8DKz3ARTbboNcdno4PpJpvDfzhzAs03VsYZqEb1BVJr3fkFG/aUueBfyu
 QveDJSyBSAiH8ntv6zjAspEYkAMXx6PI/cwHRPPYMkxijgGYAg6hyu86mIEiNqv0
 K0Ux6CgdQgLKkQ8JMdDndOSqs0rjbXoHhsk2qI22uW86aS+fccvjMNWea9JywuXQ
 xU6hcCespbtKcr1TgW0SA7AoeOFcp5jNZ2Me7LHXVnCQYzJgq8NCd9TTMpQtNwXy
 MkZpcfjeqvO88Z7p9k1BxJMwTkzqprwHpMQgR7oACc14bIv6E1xyKkXfjryOXG0=
 =0pIN
 -----END PGP SIGNATURE-----

Merge tag 'at91-for-next-cleanup' of git://github.com/at91linux/linux-at91 into next/cleanup

From Nicolas Ferre:
Removing unneeded macro.

* tag 'at91-for-next-cleanup' of git://github.com/at91linux/linux-at91:
  ARM: at91/atmel-mci: remove unused setup_dma_addr() macro
This commit is contained in:
Olof Johansson 2012-11-20 23:07:15 -08:00
commit d4819dc969

View File

@ -14,11 +14,4 @@ struct mci_dma_data {
#define slave_data_ptr(s) (&(s)->sdata) #define slave_data_ptr(s) (&(s)->sdata)
#define find_slave_dev(s) ((s)->sdata.dma_dev) #define find_slave_dev(s) ((s)->sdata.dma_dev)
#define setup_dma_addr(s, t, r) do { \
if (s) { \
(s)->sdata.tx_reg = (t); \
(s)->sdata.rx_reg = (r); \
} \
} while (0)
#endif /* __MACH_ATMEL_MCI_H */ #endif /* __MACH_ATMEL_MCI_H */