RDMA/rxe: Collect cleanup mca code in a subroutine
authorBob Pearson <rpearsonhpe@gmail.com>
Wed, 23 Feb 2022 23:07:05 +0000 (17:07 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 24 Feb 2022 00:29:15 +0000 (20:29 -0400)
commita181c4c81a7104370c6144df5daf914780f8e89e
tree95a301e40a3cd895e2747fad0f09acbd14812aa7
parent4a4f1073475796bcb343998bb1eddf6844b77963
RDMA/rxe: Collect cleanup mca code in a subroutine

Collect cleanup code for struct rxe_mca into a subroutine,
__rxe_cleanup_mca() called in rxe_detach_mcg() in rxe_mcast.c.

Link: https://lore.kernel.org/r/20220223230706.50332-4-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_mcast.c