From a2b5a3fa2ce10411130b496ad0e55ef5a4971fd9 Mon Sep 17 00:00:00 2001 From: Li RongQing Date: Tue, 19 Feb 2019 10:15:56 +0800 Subject: 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 Signed-off-by: David S. Miller --- net/ipv6/mcast_snoop.c | 1 - 1 file changed, 1 deletion(-) (limited to 'net/ipv6/mcast_snoop.c') 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); -- cgit v1.2.3