mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 10:29:37 +00:00
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 <cengelma@gmx.at> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
946c032e5a
commit
4e6ecd442d
1 changed files with 0 additions and 2 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue