Skip to content
Commit a613ed1a authored by Gavrilov Ilia's avatar Gavrilov Ilia Committed by Paolo Abeni
Browse files

ipv4: igmp: Remove redundant comparison in igmp_mcf_get_next()



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.

Signed-off-by: default avatarGavrilov Ilia <Ilia.Gavrilov@infotecs.ru>
Reviewed-by: default avatarDavid Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20230912084039.1501984-1-Ilia.Gavrilov@infotecs.ru
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 4e519fb4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment