summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2009-03-14 00:17:16 +0300
committerDavid S. Miller <davem@davemloft.net>2009-03-14 00:17:16 +0300
commit34cd347cec6dba8075ceca06efd4fb0c6574cb75 (patch)
tree194de4a8dc4b8c5a43d1f054363f6c0206051d27
parent52e21b1bd96444c452f6eab7dc438a8a898aa14a (diff)
downloadlinux-34cd347cec6dba8075ceca06efd4fb0c6574cb75.tar.xz
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;
static irqreturn_t bmac_misc_intr(int irq, void *dev_id)
{
struct net_device *dev = (struct net_device *) dev_id;
- struct bmac_data *bp = netdev_priv(dev);
unsigned int status = bmread(dev, STATUS);
if (miscintcount++ < 10) {
XXDEBUG(("bmac_misc_intr\n"));