RDMA/cm: Remove the cm_free_id() wrapper function
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 07:46:59 +0000 (10:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 May 2020 00:32:54 +0000 (21:32 -0300)
commit1cc44279f2973b413bae69d9a0bf01f051f382b0
tree1d28676fa969e78d4ddbe24900bb25fb62086cb7
parentcfa68b0d04401b3ae733787b1c72ab1266e852ab
RDMA/cm: Remove the cm_free_id() wrapper function

Just call xa_erase directly during cm_destroy_id()

Link: https://lore.kernel.org/r/20200506074701.9775-9-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/cm.c