drivers/net/wireless: fix sparse warnings: symbol shadows an earlier one
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:49:09 +0000 (11:49 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 03:34:50 +0000 (19:34 -0800)
commit49c4a5dceaff63c3080b3c9d311c1c023c3003af
tree1d518d0e8b8c689435a90f810deaf0218104eaa7
parentb1ae1e99bd9f611f16a09c1bca2a0a38e67b88c3
drivers/net/wireless: fix sparse warnings: symbol shadows an earlier one

Impact:
  Move variable closer to usage resp.
  remove redundant variables resp.
  rename function scope variable.

Fix this sparse warnings:
  drivers/net/wireless/airo.c:3840:29: warning: symbol 'i' shadows an earlier one
  drivers/net/wireless/airo.c:3751:13: originally declared here
  drivers/net/wireless/airo.c:3847:29: warning: symbol 'i' shadows an earlier one
  drivers/net/wireless/airo.c:3751:13: originally declared here
  drivers/net/wireless/airo.c:3861:21: warning: symbol 'i' shadows an earlier one
  drivers/net/wireless/airo.c:3751:13: originally declared here
  drivers/net/wireless/wavelan.c:43:13: warning: symbol 'irq' shadows an earlier one
  drivers/net/wireless/wavelan.p.h:692:17: originally declared here

Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/wireless/airo.c
drivers/net/wireless/wavelan.c