Skip to contentSkip to conversation

TC35815: Fix build

NET Applied Ralf Baechle 2 participants 2 messages Oct 15, 2007

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

bea3348eef27e6044b6161fd04c3152215f96411 broke the build of tc35815.c for the non-NAPI case:

CC drivers/net/tc35815.o
drivers/net/tc35815.c: In function 'tc35815_interrupt':
drivers/net/tc35815.c:1464: error: redefinition of 'lp' drivers/net/tc35815.c:1443: error: previous definition of 'lp' was here

drivers/net/tc35815.c +0 -1
index a679f43..8038f28 100644
@@ -1461,7 +1461,6 @@ static irqreturn_t tc35815_interrupt(int irq, void *dev_id)
 	}
 	return IRQ_NONE;
 #else
-	struct tc35815_local *lp = dev->priv;
 	int handled;
 	u32 status;
 
Applied
#1 lore raw
Quoted 9 lines · Ralf Baechle

bea3348eef27e6044b6161fd04c3152215f96411 broke the build of tc35815.c for the non-NAPI case:

CC drivers/net/tc35815.o
drivers/net/tc35815.c: In function 'tc35815_interrupt':
drivers/net/tc35815.c:1464: error: redefinition of 'lp' drivers/net/tc35815.c:1443: error: previous definition of 'lp' was here

applied