aboutsummaryrefslogtreecommitdiffstats
path: root/net/netfilter/nf_tables_core.c
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2019-02-22 16:58:44 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2019-02-27 11:03:59 +0100
commit35acfbab6e5b229ea3c4807d1949c3ab8fda9818 (patch)
tree42b83584943b61c360987bf0db6dfd7a89e049f6 /net/netfilter/nf_tables_core.c
parentnetfilter: conntrack: avoid same-timeout update (diff)
downloadlinux-dev-35acfbab6e5b229ea3c4807d1949c3ab8fda9818.tar.xz
linux-dev-35acfbab6e5b229ea3c4807d1949c3ab8fda9818.zip
netfilter: remove unneeded switch fall-through
Empty case is fine and does not switch fall-through Signed-off-by: Li RongQing <lirongqing@baidu.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to '')
-rw-r--r--net/netfilter/nf_tables_core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/netfilter/nf_tables_core.c b/net/netfilter/nf_tables_core.c
index 2a00aef7b6d4..e56a94dff34e 100644
--- a/net/netfilter/nf_tables_core.c
+++ b/net/netfilter/nf_tables_core.c
@@ -221,7 +221,6 @@ next_rule:
chain = regs.verdict.chain;
goto do_chain;
case NFT_CONTINUE:
- /* fall through */
case NFT_RETURN:
nft_trace_packet(&info, chain, rule,
NFT_TRACETYPE_RETURN);