From: Christian Engelmayer Date: Sat, 8 Feb 2014 17:11:17 +0000 (+0100) Subject: 3c59x: Remove unused pointer in vortex_eisa_cleanup() X-Git-Tag: v3.14-rc3~36^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e6ecd442db707cd29cae1774dc951855d82df5e;p=profile%2Fivi%2Fkernel-x86-ivi.git 3c59x: Remove unused pointer in vortex_eisa_cleanup() Remove unused network device private data pointer 'vp' in function vortex_eisa_cleanup(). Detected by Coverity: CID 139826. Signed-off-by: Christian Engelmayer Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/3com/3c59x.c b/drivers/net/ethernet/3com/3c59x.c index 0f4241c..238ccea 100644 --- a/drivers/net/ethernet/3com/3c59x.c +++ b/drivers/net/ethernet/3com/3c59x.c @@ -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);