]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
drivers/net/tokenring: fix sparse warning: symbol shadows an earlier one
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:44:44 +0000 (11:44 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 01:38:01 +0000 (17:38 -0800)
commit05076c1824a5cc164c3d714f7b16ac61cb9bbbf5
tree40466f72321103cd082f89341248b6f4756433a5
parent1770e430ca1361fb8143c328037d1a3f34391602
drivers/net/tokenring: fix sparse warning: symbol shadows an earlier one

Impact: Remove redundant variables.

Fix this sparse warnings:
  drivers/net/tokenring/lanstreamer.c:619:21: warning: symbol 'i' shadows an earlier one
  drivers/net/tokenring/lanstreamer.c:589:13: originally declared here
  drivers/net/tokenring/madgemc.c:695:34: warning: symbol 'tp' shadows an earlier one
  drivers/net/tokenring/madgemc.c:689:26: originally declared here
  drivers/net/tokenring/olympic.c:702:21: warning: symbol 'i' shadows an earlier one
  drivers/net/tokenring/olympic.c:440:13: originally declared here

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tokenring/lanstreamer.c
drivers/net/tokenring/madgemc.c
drivers/net/tokenring/olympic.c