提交 4e6ecd44 编写于 作者: C Christian Engelmayer 提交者: David S. Miller

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: NChristian Engelmayer <cengelma@gmx.at>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 946c032e
...@@ -3294,7 +3294,6 @@ static int __init vortex_init(void) ...@@ -3294,7 +3294,6 @@ static int __init vortex_init(void)
static void __exit vortex_eisa_cleanup(void) static void __exit vortex_eisa_cleanup(void)
{ {
struct vortex_private *vp;
void __iomem *ioaddr; void __iomem *ioaddr;
#ifdef CONFIG_EISA #ifdef CONFIG_EISA
...@@ -3303,7 +3302,6 @@ static void __exit vortex_eisa_cleanup(void) ...@@ -3303,7 +3302,6 @@ static void __exit vortex_eisa_cleanup(void)
#endif #endif
if (compaq_net_device) { if (compaq_net_device) {
vp = netdev_priv(compaq_net_device);
ioaddr = ioport_map(compaq_net_device->base_addr, ioaddr = ioport_map(compaq_net_device->base_addr,
VORTEX_TOTAL_SIZE); VORTEX_TOTAL_SIZE);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册