mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
TC35815: Fix build
bea3348eef
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
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
This commit is contained in:
parent
b77eb35e64
commit
7e7b968a07
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user