RDMA/cm: Remove needless cm_id variable
authorJason Gunthorpe <jgg@mellanox.com>
Wed, 6 May 2020 07:47:00 +0000 (10:47 +0300)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 13 May 2020 00:32:54 +0000 (21:32 -0300)
commit51e8463cfc48ca030e532c9127ee1219a95795c3
tree9dbd08a1056994afb5289f4a3878e0cb84bf1bd7
parent1cc44279f2973b413bae69d9a0bf01f051f382b0
RDMA/cm: Remove needless cm_id variable

Just put the expression in the only reader

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