Skip to content

Commit

Permalink
Merge tag 'at91-for-next-cleanup' of git://github.com/at91linux/linux…
Browse files Browse the repository at this point in the history
…-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
  • Loading branch information
Olof Johansson committed Nov 21, 2012
2 parents 5fd4d42 + f7c9f47 commit d4819dc
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions arch/arm/mach-at91/include/mach/atmel-mci.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,4 @@ struct mci_dma_data {
#define slave_data_ptr(s) (&(s)->sdata)
#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 */

0 comments on commit d4819dc

Please sign in to comment.