summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-at91
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2012-11-21 08:07:15 +0100
committerOlof Johansson <olof@lixom.net>2012-11-21 08:07:15 +0100
commitd4819dc969d0544edd0d0b819a741f10059adcaa (patch)
treec3aee9d91ebe1a7e5f8fd5f8c6b2c727dcbc141d /arch/arm/mach-at91
parentMerge tag 'omap-for-v3.8/cleanup-fixes-part2-v2-signed' of git://git.kernel.o... (diff)
parentARM: at91/atmel-mci: remove unused setup_dma_addr() macro (diff)
downloadlinux-d4819dc969d0544edd0d0b819a741f10059adcaa.tar.xz
linux-d4819dc969d0544edd0d0b819a741f10059adcaa.zip
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
Diffstat (limited to 'arch/arm/mach-at91')
-rw-r--r--arch/arm/mach-at91/include/mach/atmel-mci.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/arm/mach-at91/include/mach/atmel-mci.h b/arch/arm/mach-at91/include/mach/atmel-mci.h
index cd580a12e904..3069e4135573 100644
--- a/arch/arm/mach-at91/include/mach/atmel-mci.h
+++ b/arch/arm/mach-at91/include/mach/atmel-mci.h
@@ -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 */