summaryrefslogtreecommitdiffstats
path: root/drivers/net/pasemi_mac.c
diff options
context:
space:
mode:
authorSatyam Sharma <satyam@infradead.org>2007-09-26 22:29:51 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:52:54 -0700
commitdcffde5345c917b98b094d0ef27f6280bc7d4655 (patch)
treed9a8f499036bb80b46365ed031d5f1bee10423fb /drivers/net/pasemi_mac.c
parent7a876fae9da2b1417246a3eac0ac83889f12fa27 (diff)
[PASEMI_MAC]: remove unused function
drivers/net/pasemi_mac.c: At top level: drivers/net/pasemi_mac.c:89: warning: 'read_iob_reg' defined but not used Signed-off-by: Satyam Sharma <satyam@infradead.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/pasemi_mac.c')
-rw-r--r--drivers/net/pasemi_mac.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/pasemi_mac.c b/drivers/net/pasemi_mac.c
index 4d87cd65626..912bc5d33d2 100644
--- a/drivers/net/pasemi_mac.c
+++ b/drivers/net/pasemi_mac.c
@@ -85,11 +85,6 @@ MODULE_PARM_DESC(debug, "PA Semi MAC bitmapped debugging message enable value");
static struct pasdma_status *dma_status;
-static unsigned int read_iob_reg(struct pasemi_mac *mac, unsigned int reg)
-{
- return in_le32(mac->iob_regs+reg);
-}
-
static void write_iob_reg(struct pasemi_mac *mac, unsigned int reg,
unsigned int val)
{