Commit 7152b580 authored by Alexander Viro's avatar Alexander Viro Committed by Jeff Garzik

[netdrvr forcedeth] kfree -> free_netdev

parent 08068d2c
......@@ -1438,7 +1438,7 @@ static void __devexit remove_nic(struct pci_dev *pci_dev)
iounmap(get_hwbase(dev));
pci_release_regions(pci_dev);
pci_disable_device(pci_dev);
kfree(dev);
free_netdev(dev);
pci_set_drvdata(pci_dev, NULL);
}
......
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