aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/cpmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/cpmac.c')
-rw-r--r--drivers/net/cpmac.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/cpmac.c b/drivers/net/cpmac.c
index 6e12d48351b8..6ccebb830ff9 100644
--- a/drivers/net/cpmac.c
+++ b/drivers/net/cpmac.c
@@ -661,9 +661,6 @@ static irqreturn_t cpmac_irq(int irq, void *dev_id)
661 int queue; 661 int queue;
662 u32 status; 662 u32 status;
663 663
664 if (!dev)
665 return IRQ_NONE;
666
667 priv = netdev_priv(dev); 664 priv = netdev_priv(dev);
668 665
669 status = cpmac_read(priv->regs, CPMAC_MAC_INT_VECTOR); 666 status = cpmac_read(priv->regs, CPMAC_MAC_INT_VECTOR);