aboutsummaryrefslogtreecommitdiffstats
path: root/net/tipc/node.c
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2018-04-25 10:43:07 +0000
committerDavid S. Miller <[email protected]>2018-04-25 18:12:06 +0000
commit6f5d295909c9e10a715c4f9f6301ffa701398112 (patch)
treed5afa6afd251d6678b972fd3bc8e2cf79a56e2e4 /net/tipc/node.c
parentnet: amd8111e: remove redundant duplicated if statement (diff)
downloadkernel-6f5d295909c9e10a715c4f9f6301ffa701398112.tar.gz
kernel-6f5d295909c9e10a715c4f9f6301ffa701398112.zip
mkiss: remove redundant check for len > 0
The check for len > 0 is always true and hence is redundant as this check is already being made to execute the code inside the while-loop. Hence it is redundant and can be removed. Cleans up cppcheck warning: drivers/net/hamradio/mkiss.c:220: (warning) Identical inner 'if' condition is always true. Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/tipc/node.c')
0 files changed, 0 insertions, 0 deletions