Commit d7bc9df7 authored by Alexander Viro's avatar Alexander Viro Committed by Stephen Hemminger

[netdrvr xircom_tulip_cb] remove bogus unregister_netdev call; use free_netdev

parent cf725b75
...@@ -648,8 +648,7 @@ static int __devinit xircom_init_one(struct pci_dev *pdev, const struct pci_devi ...@@ -648,8 +648,7 @@ static int __devinit xircom_init_one(struct pci_dev *pdev, const struct pci_devi
pci_set_drvdata(pdev, NULL); pci_set_drvdata(pdev, NULL);
pci_release_regions(pdev); pci_release_regions(pdev);
err_out_free_netdev: err_out_free_netdev:
unregister_netdev(dev); free_netdev(dev);
kfree(dev);
return -ENODEV; return -ENODEV;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment