diff options
Diffstat (limited to 'drivers/net/yellowfin.c')
-rw-r--r-- | drivers/net/yellowfin.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/yellowfin.c b/drivers/net/yellowfin.c index 75d56bfef0ee..fd0f43b7db5b 100644 --- a/drivers/net/yellowfin.c +++ b/drivers/net/yellowfin.c | |||
@@ -1441,8 +1441,7 @@ static void __devexit yellowfin_remove_one (struct pci_dev *pdev) | |||
1441 | struct net_device *dev = pci_get_drvdata(pdev); | 1441 | struct net_device *dev = pci_get_drvdata(pdev); |
1442 | struct yellowfin_private *np; | 1442 | struct yellowfin_private *np; |
1443 | 1443 | ||
1444 | if (!dev) | 1444 | BUG_ON(!dev); |
1445 | BUG(); | ||
1446 | np = netdev_priv(dev); | 1445 | np = netdev_priv(dev); |
1447 | 1446 | ||
1448 | pci_free_consistent(pdev, STATUS_TOTAL_SIZE, np->tx_status, | 1447 | pci_free_consistent(pdev, STATUS_TOTAL_SIZE, np->tx_status, |