summaryrefslogtreecommitdiffstats
path: root/libxtables
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2018-09-19 15:17:03 +0200
committerFlorian Westphal <fw@strlen.de>2018-09-24 11:49:55 +0200
commitf40ce2d853591220f16c0851bf8665e6967af1f1 (patch)
treee976d5a67c27b6f1aebc2c4769f0d2a3b6af8bce /libxtables
parent47fb86cef5f4da6ee86100e410212b7b54e4800c (diff)
extensions: libebt_ip{, 6}: Drop pointless error checking
Since info->protocol is of type __u8, its value will never become -1. Apart from that, xtables_parse_protocol() calls xt_params->exit_err() in case of error, so this code is dead anyway. Signed-off-by: Phil Sutter <phil@nwl.cc> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'libxtables')
0 files changed, 0 insertions, 0 deletions