提交 f3f1546d 编写于 作者: A Adrian Bunk 提交者: Jeff Garzik

[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: NAdrian Bunk <bunk@stusta.de>
Signed-off-by: NJeff Garzik <jgarzik@pobox.com>
上级 725c0f92
......@@ -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 */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册