As we're already dereferencing dev a few lines above, if this
check could ever trigger, we'd have already oopsed.

Signed-off-by: Dave Jones <[EMAIL PROTECTED]>

--- linux-2.6/drivers/net/tulip/uli526x.c~      2006-06-11 20:24:41.000000000 
-0400
+++ linux-2.6/drivers/net/tulip/uli526x.c       2006-06-11 20:25:14.000000000 
-0400
@@ -666,11 +666,6 @@ static irqreturn_t uli526x_interrupt(int
        unsigned long ioaddr = dev->base_addr;
        unsigned long flags;
 
-       if (!dev) {
-               ULI526X_DBUG(1, "uli526x_interrupt() without DEVICE arg", 0);
-               return IRQ_NONE;
-       }
-
        spin_lock_irqsave(&db->lock, flags);
        outl(0, ioaddr + DCR7);
 
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to