drivers/net/niu.c: fix sparse warning: symbol shadows an earlier one
authorHannes Eder <hannes@hanneseder.net>
Sat, 14 Feb 2009 11:12:48 +0000 (11:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Feb 2009 01:21:10 +0000 (17:21 -0800)
commit7c34eb897362a51133222ef4229628469333f4d9
treeaa7ed6cbb4e4e5c30dab197c7af883788264c2ba
parent5d7dce76c51a590fdd7616285a96825aa517ede0
drivers/net/niu.c: fix sparse warning: symbol shadows an earlier one

Impact: Move variable declaration to a more inner scope.

Fix this sparse warning:
  drivers/net/niu.c:2399:21: warning: symbol 'err' shadows an earlier one
  drivers/net/niu.c:2287:13: originally declared here

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