net: bridge: Change a cleanup in br_multicast_new_port_group() to goto
authorPetr Machata <petrm@nvidia.com>
Thu, 2 Feb 2023 17:59:23 +0000 (18:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 6 Feb 2023 08:48:25 +0000 (08:48 +0000)
commiteceb30854f6b7d354ae52551b11aef2e2fa3e82e
treef8d9379af15aff276163c7597d16306f597bb9bc
parent976b3858dd14914c5a9254535ad7440c99467944
net: bridge: Change a cleanup in br_multicast_new_port_group() to goto

This function is getting more to clean up in the following patches.
Structuring the cleanups in one labeled block will allow reusing the same
cleanup from several places.

Signed-off-by: Petr Machata <petrm@nvidia.com>
Reviewed-by: Ido Schimmel <idosch@nvidia.com>
Acked-by: Nikolay Aleksandrov <razor@blackwall.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/bridge/br_multicast.c