aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2009-03-13 17:17:16 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-13 17:17:16 -0400
commit34cd347cec6dba8075ceca06efd4fb0c6574cb75 (patch)
tree194de4a8dc4b8c5a43d1f054363f6c0206051d27
parent52e21b1bd96444c452f6eab7dc438a8a898aa14a (diff)
bmac: remove unused variable bp in bmac_misc_intr()
From: Pavel Roskin <proski@gnu.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r--drivers/net/bmac.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/bmac.c b/drivers/net/bmac.c
index 1ab58375d061..44d015f70d1c 100644
--- a/drivers/net/bmac.c
+++ b/drivers/net/bmac.c
@@ -1062,7 +1062,6 @@ static int miscintcount;
1062static irqreturn_t bmac_misc_intr(int irq, void *dev_id) 1062static irqreturn_t bmac_misc_intr(int irq, void *dev_id)
1063{ 1063{
1064 struct net_device *dev = (struct net_device *) dev_id; 1064 struct net_device *dev = (struct net_device *) dev_id;
1065 struct bmac_data *bp = netdev_priv(dev);
1066 unsigned int status = bmread(dev, STATUS); 1065 unsigned int status = bmread(dev, STATUS);
1067 if (miscintcount++ < 10) { 1066 if (miscintcount++ < 10) {
1068 XXDEBUG(("bmac_misc_intr\n")); 1067 XXDEBUG(("bmac_misc_intr\n"));