]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/arcnet/arcnet.c
Pull bugzilla-5653 into release branch
[linux-2.6-omap-h63xx.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);