diff options
author | 2017-02-28 11:31:15 +0000 | |
---|---|---|
committer | 2017-03-06 18:04:37 +0100 | |
commit | 74664cf286dc0d2bf6960293cb219e5f741ac92b (patch) | |
tree | f2a3d857d155dc9d25314a0dc374c2588f8b17d2 /tools/perf/scripts/python | |
parent | netfilter: Use pr_cont where appropriate (diff) | |
download | wireguard-linux-74664cf286dc0d2bf6960293cb219e5f741ac92b.tar.xz wireguard-linux-74664cf286dc0d2bf6960293cb219e5f741ac92b.zip |
netfilter: arp_tables: remove redundant check on ret being non-zero
ret is initialized to zero and if it is set to non-zero in the
xt_entry_foreach loop then we exit via the out_free label. Hence
the check for ret being non-zero is redundant and can be removed.
Detected by CoverityScan, CID#1357132 ("Logically Dead Code")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions