diff mbox series

[2/7] MIPS: Octeon: remove orphan octeon_swiotlb declaration

Message ID 20220915132157.2132509-3-cuigaosheng1@huawei.com (mailing list archive)
State Accepted
Commit df1a727fa2f67369115574b02a01c140440c5a72
Headers show
Series Remove orphan declarations for mips | expand

Commit Message

cuigaosheng Sept. 15, 2022, 1:21 p.m. UTC
All uses of octeon_swiotlb were removed by
commit f39f8d0eb081 ("MIPS/octeon: use swiotlb_init instead
of open coding it"), so remove the orphan declaration, too.

Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com>
---
 arch/mips/include/asm/octeon/pci-octeon.h | 2 --
 1 file changed, 2 deletions(-)
diff mbox series

Patch

diff --git a/arch/mips/include/asm/octeon/pci-octeon.h b/arch/mips/include/asm/octeon/pci-octeon.h
index b12d9a3fbfb6..2f46f6c6e3d0 100644
--- a/arch/mips/include/asm/octeon/pci-octeon.h
+++ b/arch/mips/include/asm/octeon/pci-octeon.h
@@ -64,6 +64,4 @@  enum octeon_dma_bar_type {
 extern enum octeon_dma_bar_type octeon_dma_bar_type;
 
 void octeon_pci_dma_init(void);
-extern char *octeon_swiotlb;
-
 #endif