Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit fb1dddd7 authored by Russell King's avatar Russell King
Browse files

ARM: io: s3c2410: remove ioaddr()



There is only one user of ioaddr() in the kernel, and that is the Acorn
expansion card core code.  S3C2410 does not use this code, and so the
definition of ioaddr() is redundant.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 322a8b03
Loading
Loading
Loading
Loading
+0 −2
Original line number Original line Diff line number Diff line
@@ -199,8 +199,6 @@ DECLARE_IO(int,l,"")
#define outw(v,p)	(__builtin_constant_p((p)) ? __outwc(v,p) : __outw(v,p))
#define outw(v,p)	(__builtin_constant_p((p)) ? __outwc(v,p) : __outw(v,p))
#define outl(v,p)	(__builtin_constant_p((p)) ? __outlc(v,p) : __outl(v,p))
#define outl(v,p)	(__builtin_constant_p((p)) ? __outlc(v,p) : __outl(v,p))
#define __ioaddr(p)	(__builtin_constant_p((p)) ? __ioaddr(p)  : __ioaddrc(p))
#define __ioaddr(p)	(__builtin_constant_p((p)) ? __ioaddr(p)  : __ioaddrc(p))
/* the following macro is deprecated */
#define ioaddr(port)	__ioaddr((port))


#define insb(p,d,l)	__raw_readsb(__ioaddr(p),d,l)
#define insb(p,d,l)	__raw_readsb(__ioaddr(p),d,l)
#define insw(p,d,l)	__raw_readsw(__ioaddr(p),d,l)
#define insw(p,d,l)	__raw_readsw(__ioaddr(p),d,l)