diff options
author | 2018-04-25 11:43:07 +0100 | |
---|---|---|
committer | 2018-04-25 14:12:06 -0400 | |
commit | 6f5d295909c9e10a715c4f9f6301ffa701398112 (patch) | |
tree | d5afa6afd251d6678b972fd3bc8e2cf79a56e2e4 /net/tipc | |
parent | net: amd8111e: remove redundant duplicated if statement (diff) | |
download | linux-rng-6f5d295909c9e10a715c4f9f6301ffa701398112.tar.xz linux-rng-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 <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
0 files changed, 0 insertions, 0 deletions