diff options
author | Geert Uytterhoeven <geert@linux-m68k.org> | 2014-01-26 05:44:23 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-01-27 01:40:43 -0500 |
commit | b565c9f7458f44f1b2369d7a7ab9346d55546161 (patch) | |
tree | beac0de63b641a408e2329e225549e90f58752aa /drivers | |
parent | de960aa9ab4decc3304959f69533eef64d05d8e8 (diff) |
net/apne: Remove unused variable ei_local
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/8390/apne.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ethernet/8390/apne.c b/drivers/net/ethernet/8390/apne.c index 811fa5d5c697..30104b60da85 100644 --- a/drivers/net/ethernet/8390/apne.c +++ b/drivers/net/ethernet/8390/apne.c | |||
@@ -212,7 +212,6 @@ static int __init apne_probe1(struct net_device *dev, int ioaddr) | |||
212 | int neX000, ctron; | 212 | int neX000, ctron; |
213 | #endif | 213 | #endif |
214 | static unsigned version_printed; | 214 | static unsigned version_printed; |
215 | struct ei_device *ei_local = netdev_priv(dev); | ||
216 | 215 | ||
217 | if ((apne_msg_enable & NETIF_MSG_DRV) && (version_printed++ == 0)) | 216 | if ((apne_msg_enable & NETIF_MSG_DRV) && (version_printed++ == 0)) |
218 | netdev_info(dev, version); | 217 | netdev_info(dev, version); |