diff options
Diffstat (limited to 'drivers/net/3c59x.c')
-rw-r--r-- | drivers/net/3c59x.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/3c59x.c b/drivers/net/3c59x.c index 9b137e14dbb..ebd4c19e30a 100644 --- a/drivers/net/3c59x.c +++ b/drivers/net/3c59x.c | |||
@@ -1029,6 +1029,7 @@ static int __devinit vortex_init_one(struct pci_dev *pdev, | |||
1029 | rc = vortex_probe1(&pdev->dev, ioaddr, pdev->irq, | 1029 | rc = vortex_probe1(&pdev->dev, ioaddr, pdev->irq, |
1030 | ent->driver_data, unit); | 1030 | ent->driver_data, unit); |
1031 | if (rc < 0) { | 1031 | if (rc < 0) { |
1032 | pci_iounmap(pdev, ioaddr); | ||
1032 | pci_disable_device(pdev); | 1033 | pci_disable_device(pdev); |
1033 | goto out; | 1034 | goto out; |
1034 | } | 1035 | } |