Commit 9d124f0
ipv6: mcast: Remove redundant comparison in igmp6_mcf_get_next()
mainline inclusion
from mainline-v6.7-rc1
category: bugfix
The 'state->im' value will always be non-zero after
the 'while' statement, so the check can be removed.
Found by InfoTeCS on behalf of Linux Verification Center
(linuxtesting.org) with SVACE.
Fixes: 1da177e ("Linux-2.6.12-rc2")
Signed-off-by: Gavrilov Ilia <Ilia.Gavrilov@infotecs.ru>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20230912084100.1502379-1-Ilia.Gavrilov@infotecs.ru
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
(cherry picked from commit 59bb1d6)
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>1 parent 5d8af03 commit 9d124f0
1 file changed
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3017 | 3017 | | |
3018 | 3018 | | |
3019 | 3019 | | |
3020 | | - | |
3021 | | - | |
3022 | 3020 | | |
3023 | 3021 | | |
3024 | 3022 | | |
| |||
0 commit comments