Skip to contentSkip to conversation

ariadne: remove redundant NULL check

PATCH In review [email protected] 2 participants 2 messages Mar 10, 2011

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ariadne: remove redundant NULL check

Simply remove redundant 'dev' NULL check.

---
 ariadne.c |    5 -----
 1 file changed, 5 deletions(-)
drivers/net/ariadne.c +0 -5
@@ -425,11 +425,6 @@ static irqreturn_t ariadne_interrupt(int
     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 */
maintainer
#1 lore raw

From: [email protected]
Date: Thu, 10 Mar 2011 12:20:31 -0500

Quoted 3 lines

Simply remove redundant 'dev' NULL check.

This patch was corrupted by your email client, it turned TAB characters into spaces which makes the patch unusable.

Also your signoff is badly formed, a space is missing between your name and the "<" that begins your email address.