net/apne: Remove unused variable ei_local
authorGeert Uytterhoeven <geert@linux-m68k.org>
Sun, 26 Jan 2014 10:44:23 +0000 (11:44 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Jan 2014 06:40:43 +0000 (22:40 -0800)
drivers/net/ethernet/8390/apne.c: In function ‘apne_probe1’:
drivers/net/ethernet/8390/apne.c:215: warning: unused variable ‘ei_local’

Introduced by commit c45f812f0280c13f1b7992be5e0de512312a9e8f ("8390 :
Replace ei_debug with msg_enable/NETIF_MSG_* feature"), which added the
variable without using it.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/8390/apne.c

index 811fa5d5c6971c0a71f55d12e420fb38691bb9f7..30104b60da85a2df50259d0216991d0004e06069 100644 (file)
@@ -212,7 +212,6 @@ static int __init apne_probe1(struct net_device *dev, int ioaddr)
     int neX000, ctron;
 #endif
     static unsigned version_printed;
-    struct ei_device *ei_local = netdev_priv(dev);
 
     if ((apne_msg_enable & NETIF_MSG_DRV) && (version_printed++ == 0))
                netdev_info(dev, version);