BUG_ON() Conversion in drivers/net/
[deliverable/linux.git] / drivers / net / arcnet / arcnet.c
index 64e2caf3083df508775207e5346d4cd871bc9b6b..fabc0607b0f1d15a500b1abd6989507ac2777561 100644 (file)
@@ -765,8 +765,7 @@ irqreturn_t arcnet_interrupt(int irq, void *dev_id, struct pt_regs *regs)
        BUGMSG(D_DURING, "in arcnet_interrupt\n");
        
        lp = dev->priv;
-       if (!lp)
-               BUG();
+       BUG_ON(!lp);
                
        spin_lock(&lp->lock);
 
This page took 0.024539 seconds and 5 git commands to generate.