Commit 96f2c4a4 authored by Jeff Garzik's avatar Jeff Garzik

[netdrvr rcpci] Remove bogus check in ->remove handler

parent 62424348
......@@ -131,12 +131,6 @@ rcpci45_remove_one (struct pci_dev *pdev)
struct net_device *dev = pci_get_drvdata (pdev);
PDPA pDpa = dev->priv;
if (!dev) {
printk (KERN_ERR "%s: remove non-existent device\n",
dev->name);
return;
}
RCResetIOP (dev);
unregister_netdev (dev);
free_irq (dev->irq, dev);
......
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