]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
3c59x: Remove unused pointer in vortex_eisa_cleanup()
authorChristian Engelmayer <cengelma@gmx.at>
Sat, 8 Feb 2014 17:11:17 +0000 (18:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 10 Feb 2014 03:06:14 +0000 (19:06 -0800)
Remove unused network device private data pointer 'vp' in function
vortex_eisa_cleanup(). Detected by Coverity: CID 139826.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/3com/3c59x.c

index 0f4241c6e97e7545eed585f445d1f3e01e436277..238ccea965c8a1528c10d7477753fcc1ad068ca0 100644 (file)
@@ -3294,7 +3294,6 @@ static int __init vortex_init(void)
 
 static void __exit vortex_eisa_cleanup(void)
 {
-       struct vortex_private *vp;
        void __iomem *ioaddr;
 
 #ifdef CONFIG_EISA
@@ -3303,7 +3302,6 @@ static void __exit vortex_eisa_cleanup(void)
 #endif
 
        if (compaq_net_device) {
-               vp = netdev_priv(compaq_net_device);
                ioaddr = ioport_map(compaq_net_device->base_addr,
                                    VORTEX_TOTAL_SIZE);