mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-11-19 16:14:13 +08:00
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>
This commit is contained in:
parent
8d668bfef6
commit
18c4c35ecb
@ -380,7 +380,6 @@ int arcnet_open(struct net_device *dev)
|
||||
return -ENODEV;
|
||||
|
||||
BUGLVL(D_PROTO) {
|
||||
int count;
|
||||
BUGMSG(D_PROTO, "protocol map (default is '%c'): ",
|
||||
arc_proto_default->suffix);
|
||||
for (count = 0; count < 256; count++)
|
||||
|
Loading…
Reference in New Issue
Block a user