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/ipv4 | |
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/ipv4')
-rw-r--r-- | net/ipv4/igmp.c | 1 |
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); |