]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
smc911x: remove unused 8-bit I/O operations
authorMagnus Damm <magnus.damm@gmail.com>
Mon, 9 Jun 2008 23:33:53 +0000 (16:33 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Thu, 12 Jun 2008 01:58:06 +0000 (21:58 -0400)
Remove unused SMC_inb() and SMC_outb() functions.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Cc: Jeff Garzik <jeff@garzik.org>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/smc911x.h

index 7defa63b9c747efd1cda1ea902079c0124340cac..f4965585ba164c73f6029983e46cd9e47e045384 100644 (file)
  */
 
 #if    SMC_USE_16BIT
-#define SMC_inb(a, r)                   readb((a) + (r))
 #define SMC_inw(a, r)                   readw((a) + (r))
 #define SMC_inl(a, r)                   ((SMC_inw(a, r) & 0xFFFF)+(SMC_inw(a+2, r)<<16))
-#define SMC_outb(v, a, r)               writeb(v, (a) + (r))
 #define SMC_outw(v, a, r)               writew(v, (a) + (r))
 #define SMC_outl(v, a, r)                       \
        do{                                      \
 #define SMC_outsl(a, r, p, l)   writesw((short*)((a) + (r)), p, l*2)
 
 #elif  SMC_USE_32BIT
-#define SMC_inb(a, r)           readb((a) + (r))
 #define SMC_inw(a, r)           readw((a) + (r))
 #define SMC_inl(a, r)           readl((a) + (r))
-#define SMC_outb(v, a, r)       writeb(v, (a) + (r))
 #define SMC_outl(v, a, r)       writel(v, (a) + (r))
 #define SMC_insl(a, r, p, l)    readsl((int*)((a) + (r)), p, l)
 #define SMC_outsl(a, r, p, l)   writesl((int*)((a) + (r)), p, l)