netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [NET] TC35815: Fix build
@ 2007-10-14 13:40 Ralf Baechle
  2007-10-15 18:33 ` Jeff Garzik
  0 siblings, 1 reply; 2+ messages in thread
From: Ralf Baechle @ 2007-10-14 13:40 UTC (permalink / raw)
  To: Andrew Morton, Jeff Garzik, netdev; +Cc: Stephen Hemminger, Atsushi Nemoto

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

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

diff --git a/drivers/net/tc35815.c b/drivers/net/tc35815.c
index a679f43..8038f28 100644
--- a/drivers/net/tc35815.c
+++ b/drivers/net/tc35815.c
@@ -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;
 

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-10-15 18:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-14 13:40 [NET] TC35815: Fix build Ralf Baechle
2007-10-15 18:33 ` Jeff Garzik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).