Skip to content

Commit

Permalink
ariadne: remove redundant NULL check
Browse files Browse the repository at this point in the history
Simply remove redundant 'dev' NULL check.

Signed-off-by: Jinqiu Yang <crindy646@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
j223yang@asset.uwaterloo.ca authored and David S. Miller committed Mar 10, 2011
1 parent 6dfbd87 commit 75c0fd9
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/net/ariadne.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 75c0fd9

Please sign in to comment.