]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/cpmac.c
[netdrvr] irq handler minor cleanups in several drivers
[linux-2.6-omap-h63xx.git] / drivers / net / cpmac.c
index 6e12d48351b8e1a4b243efd80b5c669c689e6830..6ccebb830ff90bc86f4b00ed0f622f8fe0c0245b 100644 (file)
@@ -661,9 +661,6 @@ static irqreturn_t cpmac_irq(int irq, void *dev_id)
        int queue;
        u32 status;
 
-       if (!dev)
-               return IRQ_NONE;
-
        priv = netdev_priv(dev);
 
        status = cpmac_read(priv->regs, CPMAC_MAC_INT_VECTOR);