diff options
author | Olof Johansson <olof@lixom.net> | 2012-11-21 02:07:15 -0500 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2012-11-21 02:07:15 -0500 |
commit | d4819dc969d0544edd0d0b819a741f10059adcaa (patch) | |
tree | c3aee9d91ebe1a7e5f8fd5f8c6b2c727dcbc141d /arch/arm/mach-at91 | |
parent | 5fd4d427eda327b783bf84c885fdde38ac726183 (diff) | |
parent | f7c9f47239e9bc2fdf30f51cf46249aeb79980d3 (diff) |
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.h | 7 |
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 { | |||
14 | #define slave_data_ptr(s) (&(s)->sdata) | 14 | #define slave_data_ptr(s) (&(s)->sdata) |
15 | #define find_slave_dev(s) ((s)->sdata.dma_dev) | 15 | #define find_slave_dev(s) ((s)->sdata.dma_dev) |
16 | 16 | ||
17 | #define setup_dma_addr(s, t, r) do { \ | ||
18 | if (s) { \ | ||
19 | (s)->sdata.tx_reg = (t); \ | ||
20 | (s)->sdata.rx_reg = (r); \ | ||
21 | } \ | ||
22 | } while (0) | ||
23 | |||
24 | #endif /* __MACH_ATMEL_MCI_H */ | 17 | #endif /* __MACH_ATMEL_MCI_H */ |