RDMA/cm: Make find_remote_id() return a cm_id_private
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 07:46:58 +0000 (10:46 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 May 2020 00:32:54 +0000 (21:32 -0300)
commitcfa68b0d04401b3ae733787b1c72ab1266e852ab
tree13a0a1d680c3b54e1092906466e6b5c0db049678
parent09fb406a569b2f4b596048e1cfa2c92a35b8fc9b
RDMA/cm: Make find_remote_id() return a cm_id_private

The only caller doesn't care about the timewait, so acquire and return the
cm_id_private from the function.

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