linux 2.6.16.38 w/ vs2.0.3-rc1
[linux-2.6.git] / drivers / net / tokenring / madgemc.c
index 19e6f4d..3a25d19 100644 (file)
@@ -735,7 +735,8 @@ static int __devexit madgemc_remove(struct device *device)
        struct net_local *tp;
         struct card_info *card;
 
-       BUG_ON(!dev);
+       if (!dev)
+               BUG();
 
        tp = dev->priv;
        card = tp->tmspriv;