linux-mips
[Top] [All Lists]

[PATCH] MIPS: Octeon: Remove plat_map_dma_mem_page().

To: linux-mips@linux-mips.org, ralf@linux-mips.org, linux-kernel@vger.kernel.org
Subject: [PATCH] MIPS: Octeon: Remove plat_map_dma_mem_page().
From: David Daney <ddaney@caviumnetworks.com>
Date: Thu, 23 Sep 2010 18:06:38 -0700
Cc: David Daney <ddaney@caviumnetworks.com>
In-reply-to: <1285281496-24696-10-git-send-email-ddaney@caviumnetworks.com>
References: <1285281496-24696-10-git-send-email-ddaney@caviumnetworks.com>
Sender: linux-mips-bounce@linux-mips.org
It is now unused.

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
---

This is a small addition to the rest of the patch set.  It could be
rolled into [PATCH 9/9] MIPS: Octeon: Rewrite DMA mapping functions.

 .../include/asm/mach-cavium-octeon/dma-coherence.h |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h 
b/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h
index a0058fb..cedf254 100644
--- a/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h
+++ b/arch/mips/include/asm/mach-cavium-octeon/dma-coherence.h
@@ -23,12 +23,6 @@ static inline dma_addr_t plat_map_dma_mem(struct device 
*dev, void *addr,
        BUG();
 }
 
-static inline dma_addr_t plat_map_dma_mem_page(struct device *dev,
-       struct page *page)
-{
-       BUG();
-}
-
 static inline unsigned long plat_dma_addr_to_phys(struct device *dev,
        dma_addr_t dma_addr)
 {
-- 
1.7.2.2


<Prev in Thread] Current Thread [Next in Thread>