arch/*: remove unused isa_page_to_bus()
authorStephen Kitt <steve@sk2.org>
Tue, 16 Jul 2019 23:27:04 +0000 (16:27 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 17 Jul 2019 02:23:22 +0000 (19:23 -0700)
isa_page_to_bus() is deprecated and is no longer used anywhere.  Remove
it entirely.

Link: http://lkml.kernel.org/r/20190613161155.16946-1-steve@sk2.org
Signed-off-by: Stephen Kitt <steve@sk2.org>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/alpha/include/asm/io.h
arch/arm/include/asm/io.h
arch/mips/include/asm/io.h
arch/x86/include/asm/io.h

index ccf9d65166bb621da0086624458f442fa4f6608f..af2c0063dc750584381ee2b59bad3ec2c1882217 100644 (file)
@@ -93,11 +93,6 @@ static inline void * phys_to_virt(unsigned long address)
 
 #define page_to_phys(page)     page_to_pa(page)
 
-static inline dma_addr_t __deprecated isa_page_to_bus(struct page *page)
-{
-       return page_to_phys(page);
-}
-
 /* Maximum PIO space address supported?  */
 #define IO_SPACE_LIMIT 0xffff
 
index f11c35cf0b7460f5f78a9c633e98cab8fc4df6cf..7a0596fcb2e77e9515c3cb0725869872e58520b0 100644 (file)
@@ -30,7 +30,6 @@
  * ISA I/O bus memory addresses are 1:1 with the physical address.
  */
 #define isa_virt_to_bus virt_to_phys
-#define isa_page_to_bus page_to_phys
 #define isa_bus_to_virt phys_to_virt
 
 /*
index 29997e42480e916b7075c46a7b74a62d7641fda4..1790274c27ebf9d66e2c55681b48ab60a5ad7fff 100644 (file)
@@ -149,8 +149,6 @@ static inline void *isa_bus_to_virt(unsigned long address)
        return phys_to_virt(address);
 }
 
-#define isa_page_to_bus page_to_phys
-
 /*
  * However PCI ones are not necessarily 1:1 and therefore these interfaces
  * are forbidden in portable PCI drivers.
index a06a9f8294ea5b1c8cb7552d2e1c8d30e3434a74..6bed97ff6db2da3a7dc94fdaab10420d7cdca73b 100644 (file)
@@ -165,7 +165,6 @@ static inline unsigned int isa_virt_to_bus(volatile void *address)
 {
        return (unsigned int)virt_to_phys(address);
 }
-#define isa_page_to_bus(page)  ((unsigned int)page_to_phys(page))
 #define isa_bus_to_virt                phys_to_virt
 
 /*