aboutsummaryrefslogtreecommitdiff
path: root/net/sched/cls_basic.c
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2018-04-25 11:43:07 +0100
committerDavid S. Miller <davem@davemloft.net>2018-04-25 14:12:06 -0400
commit6f5d295909c9e10a715c4f9f6301ffa701398112 (patch)
treed5afa6afd251d6678b972fd3bc8e2cf79a56e2e4 /net/sched/cls_basic.c
parent4d7b44833e9a129d3220152727a19cceea3a2ac4 (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>
Diffstat (limited to 'net/sched/cls_basic.c')
0 files changed, 0 insertions, 0 deletions