]> nv-tegra.nvidia Code Review - linux-3.10.git/commitdiff
[IA64] remove unused function __ia64_get_io_port_base
authorTony Luck <tony.luck@intel.com>
Thu, 18 Aug 2005 21:40:00 +0000 (14:40 -0700)
committerTony Luck <tony.luck@intel.com>
Thu, 18 Aug 2005 21:40:00 +0000 (14:40 -0700)
Not only was this unused, but its somewhat eccentric declaration
of "static inline const unsigned long" gives gcc4 heartburn.

Signed-off-by: Tony Luck <tony.luck@intel.com>
include/asm-ia64/io.h

index 491e9d1fc538d0e31cbc2ecbbf15016cd6d7d194..54e7637a326c4e1ffb6aab9835abab5f384e3be0 100644 (file)
@@ -120,14 +120,6 @@ static inline void ___ia64_mmiowb(void)
        ia64_mfa();
 }
 
-static inline const unsigned long
-__ia64_get_io_port_base (void)
-{
-       extern unsigned long ia64_iobase;
-
-       return ia64_iobase;
-}
-
 static inline void*
 __ia64_mk_io_addr (unsigned long port)
 {