diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 11:12:10 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 17:21:08 -0800 |
commit | f11bf7a31e9a3dccf893e0fceeb1d7d9fd4dfcb4 (patch) | |
tree | 7af989aef3b69410222288286566248da080fabc /drivers/net/ni65.c | |
parent | 1256f7394cc08c60d4502a2f08d7260f3fd97d56 (diff) | |
download | op-kernel-dev-f11bf7a31e9a3dccf893e0fceeb1d7d9fd4dfcb4.zip op-kernel-dev-f11bf7a31e9a3dccf893e0fceeb1d7d9fd4dfcb4.tar.gz |
drivers/net/e2100.c: fix sparse warning: symbol shadows an earlier one
Impact: Remove redundant inner scope variable and while being at it
make use of ARRAY_SIZE instead of a hardcoded number.
Fix this sparse warning:
drivers/net/e2100.c:219:56: warning: symbol 'i' shadows an earlier one
drivers/net/e2100.c:181:13: originally declared here
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ni65.c')
0 files changed, 0 insertions, 0 deletions