summaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorLi RongQing <lirongqing@baidu.com>2019-02-19 10:15:56 +0800
committerDavid S. Miller <davem@davemloft.net>2019-02-21 13:48:00 -0800
commita2b5a3fa2ce10411130b496ad0e55ef5a4971fd9 (patch)
tree7ea07711a1e6eaea1a56b235772f956a6bcbdd08 /net/ipv4
parentaf736bf071e8ccf395fa7f7d9d105e020cf609cc (diff)
downloadlinux-a2b5a3fa2ce10411130b496ad0e55ef5a4971fd9.tar.gz
linux-a2b5a3fa2ce10411130b496ad0e55ef5a4971fd9.tar.bz2
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);