ariadne: remove redundant NULL check
Subsystems (2)
PATCH 1/1 ariadne: remove redundant NULL check
Simply remove redundant 'dev' NULL check.
Signed-off-by Jinqiu Yang<[email protected]>
--- ariadne.c | 5 ----- 1 file changed, 5 deletions(-)
drivers/net/ariadne.c +0 -5
@@ -425,11 +425,6 @@ static irqreturn_t ariadne_interrupt(intint 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 */
David Miller
maintainerFrom: [email protected]
Date: Thu, 10 Mar 2011 12:20:31 -0500
Quoted 3 lines
Simply remove redundant 'dev' NULL check.
Signed-off-by Jinqiu Yang<[email protected]>
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.