diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-08-15 05:28:30 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-10-29 16:24:40 -0400 |
commit | 4e7f72660c39a81cc5745d5c6f23f9500f80d8d8 (patch) | |
tree | f20c6dadb500eddf4f952c0ef6f01c2900e1dc41 /arch/mips/include/asm/mach-ip32 | |
parent | 8a8594a738e2e6abcfb9370629ed95035505668f (diff) |
MIPS: Remove unnecessary platform dma helper functions
The semantics stay the same - on Cavium Octeon the functions were dead
code (it overrides the MIPS DMA ops) - on other platforms they contained
no code at all.
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/5720/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm/mach-ip32')
-rw-r--r-- | arch/mips/include/asm/mach-ip32/dma-coherence.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/mips/include/asm/mach-ip32/dma-coherence.h b/arch/mips/include/asm/mach-ip32/dma-coherence.h index 073f0c4760ba..104cfbc3ed63 100644 --- a/arch/mips/include/asm/mach-ip32/dma-coherence.h +++ b/arch/mips/include/asm/mach-ip32/dma-coherence.h | |||
@@ -80,17 +80,6 @@ static inline int plat_dma_supported(struct device *dev, u64 mask) | |||
80 | return 1; | 80 | return 1; |
81 | } | 81 | } |
82 | 82 | ||
83 | static inline void plat_extra_sync_for_device(struct device *dev) | ||
84 | { | ||
85 | return; | ||
86 | } | ||
87 | |||
88 | static inline int plat_dma_mapping_error(struct device *dev, | ||
89 | dma_addr_t dma_addr) | ||
90 | { | ||
91 | return 0; | ||
92 | } | ||
93 | |||
94 | static inline int plat_device_is_coherent(struct device *dev) | 83 | static inline int plat_device_is_coherent(struct device *dev) |
95 | { | 84 | { |
96 | return 0; /* IP32 is non-cohernet */ | 85 | return 0; /* IP32 is non-cohernet */ |