summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2019-02-19 03:15:56 +0100
committerDavid S. Miller <davem@davemloft.net>2019-02-21 22:48:00 +0100
commita2b5a3fa2ce10411130b496ad0e55ef5a4971fd9 (patch)
tree7ea07711a1e6eaea1a56b235772f956a6bcbdd08 /net/ipv4
parentnet: sched: potential NULL dereference in tcf_block_find() (diff)
downloadlinux-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/ipv4')
-rw-r--r--net/ipv4/igmp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv4/igmp.c b/net/ipv4/igmp.c
index b448cf32296c..6c2febc39dca 100644
--- a/net/ipv4/igmp.c
+++ b/net/ipv4/igmp.c
@@ -1541,7 +1541,6 @@ static int ip_mc_check_igmp_msg(struct sk_buff *skb)
case IGMP_HOST_LEAVE_MESSAGE:
case IGMP_HOST_MEMBERSHIP_REPORT:
case IGMPV2_HOST_MEMBERSHIP_REPORT:
- /* fall through */
return 0;
case IGMPV3_HOST_MEMBERSHIP_REPORT:
return ip_mc_check_igmp_reportv3(skb);