]> git.baikalelectronics.ru Git - kernel.git/commit
net: bridge: remove redundant continue statement
authorColin Ian King <colin.king@canonical.com>
Fri, 18 Jun 2021 10:01:55 +0000 (11:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Jun 2021 19:08:40 +0000 (12:08 -0700)
commit67c11b6ffd7bd016798b642445dd3faccda0a6ee
treed810661e7320bd37f6fc7dc2b808b246e61d5b5a
parenta12f4a8e4eab6f35f93c9ecbd1ee82c4af8fe152
net: bridge: remove redundant continue statement

The continue statement at the end of a for-loop has no effect,
invert the if expression and remove the continue.

Addresses-Coverity: ("Continue has no effect")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Nikolay Aleksandrov <nikolay@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_vlan.c