Browse Source

bmac: remove unused variable bp in bmac_misc_intr()

From: Pavel Roskin <proski@gnu.org>

Signed-off-by: David S. Miller <davem@davemloft.net>
Pavel Roskin 16 năm trước cách đây
mục cha
commit
34cd347cec
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  1. 0 1
      drivers/net/bmac.c

+ 0 - 1
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"));