netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] sungem: remove superfluous variable
@ 2008-02-20 11:37 Johannes Berg
  2008-02-20 19:09 ` Joe Perches
  0 siblings, 1 reply; 3+ messages in thread
From: Johannes Berg @ 2008-02-20 11:37 UTC (permalink / raw)
  To: David S. Miller; +Cc: netdev

There's no need to have two variables called 'i' when one
suffices.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
---
 drivers/net/sungem.c |    1 -
 1 file changed, 1 deletion(-)

--- everything.orig/drivers/net/sungem.c	2008-02-20 12:35:12.000000000 +0100
+++ everything/drivers/net/sungem.c	2008-02-20 12:35:15.000000000 +0100
@@ -1831,7 +1831,6 @@ static u32 gem_setup_multicast(struct ge
 		u16 hash_table[16];
 		u32 crc;
 		struct dev_mc_list *dmi = gp->dev->mc_list;
-		int i;
 
 		for (i = 0; i < 16; i++)
 			hash_table[i] = 0;



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

end of thread, other threads:[~2008-02-20 21:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-20 11:37 [PATCH] sungem: remove superfluous variable Johannes Berg
2008-02-20 19:09 ` Joe Perches
2008-02-20 21:47   ` Joe Perches

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).