aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tulip
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@stusta.de>2005-05-12 22:25:14 -0400
committerJeff Garzik <jgarzik@pobox.com>2005-05-12 22:25:14 -0400
commitf3f1546dbed9efe8ac04fe5069772834ae379e16 (patch)
treef904e4447cd6715fa0fa106d0fdddca830f06e87 /drivers/net/tulip
parent725c0f922f04e5a3a7d2ba66dbc10b8e20000712 (diff)
[PATCH] drivers/net/tulip/dmfe.c: remove a check after use
This patch removes a NULL check that was useles because it happened after the first dereference of the variable. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Jeff Garzik <jgarzik@pobox.com>
Diffstat (limited to 'drivers/net/tulip')
-rw-r--r--drivers/net/tulip/dmfe.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c
index 3f19f5795051..04539fca270f 100644
--- a/drivers/net/tulip/dmfe.c
+++ b/drivers/net/tulip/dmfe.c
@@ -744,11 +744,6 @@ static irqreturn_t dmfe_interrupt(int irq, void *dev_id, struct pt_regs *regs)
744 744
745 DMFE_DBUG(0, "dmfe_interrupt()", 0); 745 DMFE_DBUG(0, "dmfe_interrupt()", 0);
746 746
747 if (!dev) {
748 DMFE_DBUG(1, "dmfe_interrupt() without DEVICE arg", 0);
749 return IRQ_NONE;
750 }
751
752 spin_lock_irqsave(&db->lock, flags); 747 spin_lock_irqsave(&db->lock, flags);
753 748
754 /* Got DM910X status */ 749 /* Got DM910X status */