summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2009-03-13 22:17:16 +0100
committerDavid S. Miller <davem@davemloft.net>2009-03-13 22:17:16 +0100
commit34cd347cec6dba8075ceca06efd4fb0c6574cb75 (patch)
tree194de4a8dc4b8c5a43d1f054363f6c0206051d27
parentehea: fix circular locking problem (diff)
downloadlinux-34cd347cec6dba8075ceca06efd4fb0c6574cb75.tar.xz
linux-34cd347cec6dba8075ceca06efd4fb0c6574cb75.zip
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"));