Commit 75c0fd93 authored by j223yang@asset.uwaterloo.ca's avatar j223yang@asset.uwaterloo.ca Committed by David S. Miller

ariadne: remove redundant NULL check

Simply remove redundant 'dev' NULL check.
Signed-off-by: default avatarJinqiu Yang <crindy646@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 6dfbd87a
...@@ -425,11 +425,6 @@ static irqreturn_t ariadne_interrupt(int irq, void *data) ...@@ -425,11 +425,6 @@ static irqreturn_t ariadne_interrupt(int irq, void *data)
int csr0, boguscnt; int csr0, boguscnt;
int handled = 0; 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 */ lance->RAP = CSR0; /* PCnet-ISA Controller Status */
if (!(lance->RDP & INTR)) /* Check if any interrupt has been */ if (!(lance->RDP & INTR)) /* Check if any interrupt has been */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment