提交 75c0fd93 编写于 作者: J j223yang@asset.uwaterloo.ca 提交者: David S. Miller

ariadne: remove redundant NULL check

Simply remove redundant 'dev' NULL check.
Signed-off-by: NJinqiu Yang <crindy646@gmail.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 6dfbd87a
......@@ -425,11 +425,6 @@ static irqreturn_t ariadne_interrupt(int irq, void *data)
int csr0, boguscnt;
int handled = 0;
if (dev == NULL) {
printk(KERN_WARNING "ariadne_interrupt(): irq for unknown device.\n");
return IRQ_NONE;
}
lance->RAP = CSR0; /* PCnet-ISA Controller Status */
if (!(lance->RDP & INTR)) /* Check if any interrupt has been */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册