Skip to content

Commit 18c4c35

Browse files
hanneseder-netdavem330
authored andcommitted
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>
1 parent 8d668bf commit 18c4c35

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

‎drivers/net/arcnet/arcnet.c‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,6 @@ int arcnet_open(struct net_device *dev)
380380
return -ENODEV;
381381

382382
BUGLVL(D_PROTO) {
383-
int count;
384383
BUGMSG(D_PROTO, "protocol map (default is '%c'): ",
385384
arc_proto_default->suffix);
386385
for (count = 0; count < 256; count++)

0 commit comments

Comments
 (0)