summaryrefslogtreecommitdiffstats
path: root/drivers/net/fddi
diff options
context:
space:
mode:
authorNathan Chancellor <natechancellor@gmail.com>2018-09-20 15:24:59 -0700
committerDavid S. Miller <davem@davemloft.net>2018-09-21 19:02:05 -0700
commit83b4768e1b6bd92a94b15ccb22762c686f5ede38 (patch)
tree7f8e477f87cbe38c74beb1e339b4196f8c226720 /drivers/net/fddi
parentb1e51eabf9ec0bdeeaa86d9589749115d78e3a50 (diff)
downloadlinux-83b4768e1b6bd92a94b15ccb22762c686f5ede38.tar.bz2
bna: Remove unnecessary self assignment
Clang warns when a variable is assigned to itself. drivers/net/ethernet/brocade/bna/bna_enet.c:1800:9: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] for (i = i; i < (bna->ioceth.attr.num_ucmac * 2); i++) ~ ^ ~ drivers/net/ethernet/brocade/bna/bna_enet.c:1835:9: warning: explicitly assigning value of variable of type 'int' to itself [-Wself-assign] for (i = i; i < (bna->ioceth.attr.num_mcmac * 2); i++) ~ ^ ~ 2 warnings generated. Link: https://github.com/ClangBuiltLinux/linux/issues/110 Signed-off-by: Nathan Chancellor <natechancellor@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/fddi')
0 files changed, 0 insertions, 0 deletions