summaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm/mach-ip27
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2013-08-15 11:28:30 +0200
committerRalf Baechle <ralf@linux-mips.org>2013-10-29 21:24:40 +0100
commit4e7f72660c39a81cc5745d5c6f23f9500f80d8d8 (patch)
treef20c6dadb500eddf4f952c0ef6f01c2900e1dc41 /arch/mips/include/asm/mach-ip27
parent8a8594a738e2e6abcfb9370629ed95035505668f (diff)
downloadop-kernel-dev-4e7f72660c39a81cc5745d5c6f23f9500f80d8d8.zip
op-kernel-dev-4e7f72660c39a81cc5745d5c6f23f9500f80d8d8.tar.gz
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-ip27')
-rw-r--r--arch/mips/include/asm/mach-ip27/dma-coherence.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/mips/include/asm/mach-ip27/dma-coherence.h b/arch/mips/include/asm/mach-ip27/dma-coherence.h
index 06c4419..4ffddfd 100644
--- a/arch/mips/include/asm/mach-ip27/dma-coherence.h
+++ b/arch/mips/include/asm/mach-ip27/dma-coherence.h
@@ -58,16 +58,6 @@ static inline int plat_dma_supported(struct device *dev, u64 mask)
return 1;
}
-static inline void plat_extra_sync_for_device(struct device *dev)
-{
-}
-
-static inline int plat_dma_mapping_error(struct device *dev,
- dma_addr_t dma_addr)
-{
- return 0;
-}
-
static inline int plat_device_is_coherent(struct device *dev)
{
return 1; /* IP27 non-cohernet mode is unsupported */
OpenPOWER on IntegriCloud