Commit 3ce12aab authored by Jeff Garzik's avatar Jeff Garzik

[wireless orinoco] Remove bogus !dev check

Caught by Stanford checker.
parent e059aa85
...@@ -277,9 +277,6 @@ static void __devexit orinoco_pci_remove_one(struct pci_dev *pdev) ...@@ -277,9 +277,6 @@ static void __devexit orinoco_pci_remove_one(struct pci_dev *pdev)
struct net_device *dev = pci_get_drvdata(pdev); struct net_device *dev = pci_get_drvdata(pdev);
struct orinoco_private *priv = dev->priv; struct orinoco_private *priv = dev->priv;
if (! dev)
BUG();
unregister_netdev(dev); unregister_netdev(dev);
if (dev->irq) if (dev->irq)
......
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