diff options
author | Li RongQing <lirongqing@baidu.com> | 2019-02-19 03:15:56 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-21 22:48:00 +0100 |
commit | a2b5a3fa2ce10411130b496ad0e55ef5a4971fd9 (patch) | |
tree | 7ea07711a1e6eaea1a56b235772f956a6bcbdd08 /net/ipv6 | |
parent | net: sched: potential NULL dereference in tcf_block_find() (diff) | |
download | linux-a2b5a3fa2ce10411130b496ad0e55ef5a4971fd9.tar.xz linux-a2b5a3fa2ce10411130b496ad0e55ef5a4971fd9.zip |
net: remove unneeded switch fall-through
This case block has been terminated by a return, so not need
a switch fall-through
Signed-off-by: Li RongQing <lirongqing@baidu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/mcast_snoop.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/mcast_snoop.c b/net/ipv6/mcast_snoop.c index 55e2ac179f28..dddd75d1be0e 100644 --- a/net/ipv6/mcast_snoop.c +++ b/net/ipv6/mcast_snoop.c @@ -128,7 +128,6 @@ static int ipv6_mc_check_mld_msg(struct sk_buff *skb) switch (mld->mld_type) { case ICMPV6_MGM_REDUCTION: case ICMPV6_MGM_REPORT: - /* fall through */ return 0; case ICMPV6_MLD2_REPORT: return ipv6_mc_check_mld_reportv2(skb); |