mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
[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>
This commit is contained in:
parent
725c0f922f
commit
f3f1546dbe
@ -744,11 +744,6 @@ static irqreturn_t dmfe_interrupt(int irq, void *dev_id, struct pt_regs *regs)
|
||||
|
||||
DMFE_DBUG(0, "dmfe_interrupt()", 0);
|
||||
|
||||
if (!dev) {
|
||||
DMFE_DBUG(1, "dmfe_interrupt() without DEVICE arg", 0);
|
||||
return IRQ_NONE;
|
||||
}
|
||||
|
||||
spin_lock_irqsave(&db->lock, flags);
|
||||
|
||||
/* Got DM910X status */
|
||||
|
Loading…
Reference in New Issue
Block a user