diff options
author | Hannes Eder <hannes@hanneseder.net> | 2009-02-14 06:14:45 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-02-17 20:26:05 -0500 |
commit | 18c4c35ecbeda253ce7532a6ed7f2fa144147d64 (patch) | |
tree | a855441fb3c75d9873fd4669352e4091a956838c /drivers/net/arcnet | |
parent | 8d668bfef68b35f7eedcc70fd5c47cdb24f406cc (diff) |
drivers/net/arcnet: fix sparse warning: symbol shadows an earlier one
Impact: Remove redundant inner scope variable.
Fix this sparse warning:
drivers/net/arcnet/arcnet.c:383:21: warning: symbol 'count' shadows an earlier one
drivers/net/arcnet/arcnet.c:375: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/arcnet')
-rw-r--r-- | drivers/net/arcnet/arcnet.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/arcnet/arcnet.c b/drivers/net/arcnet/arcnet.c index a80d4a30a464..d6d4ab3b430c 100644 --- a/drivers/net/arcnet/arcnet.c +++ b/drivers/net/arcnet/arcnet.c | |||
@@ -380,7 +380,6 @@ int arcnet_open(struct net_device *dev) | |||
380 | return -ENODEV; | 380 | return -ENODEV; |
381 | 381 | ||
382 | BUGLVL(D_PROTO) { | 382 | BUGLVL(D_PROTO) { |
383 | int count; | ||
384 | BUGMSG(D_PROTO, "protocol map (default is '%c'): ", | 383 | BUGMSG(D_PROTO, "protocol map (default is '%c'): ", |
385 | arc_proto_default->suffix); | 384 | arc_proto_default->suffix); |
386 | for (count = 0; count < 256; count++) | 385 | for (count = 0; count < 256; count++) |