commit | 6f5d295909c9e10a715c4f9f6301ffa701398112 | [log] [tgz] |
---|---|---|
author | Colin Ian King <colin.king@canonical.com> | Wed Apr 25 11:43:07 2018 +0100 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 25 14:12:06 2018 -0400 |
tree | d5afa6afd251d6678b972fd3bc8e2cf79a56e2e4 | |
parent | 4d7b44833e9a129d3220152727a19cceea3a2ac4 [diff] |
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>