[PATCH] via-rhine: revert "change mdelay to msleep and remove from ISR path"
[powerpc.git] / drivers / net / tokenring / madgemc.c
index 3a25d19..19e6f4d 100644 (file)
@@ -735,8 +735,7 @@ static int __devexit madgemc_remove(struct device *device)
        struct net_local *tp;
         struct card_info *card;
 
-       if (!dev)
-               BUG();
+       BUG_ON(!dev);
 
        tp = dev->priv;
        card = tp->tmspriv;