RDMA: Remove a few extra calls to ib_get_client_data()
authorJason Gunthorpe <jgg@mellanox.com>
Tue, 7 Apr 2020 23:20:09 +0000 (20:20 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 14 Apr 2020 19:05:08 +0000 (16:05 -0300)
commit1587982e705db1ac090b05a7006771c78d0e8417
tree6a6d1365df73bc3a48c2512498a12723ad6bce8f
parenteb356e6dc15a30af604f052cd0e170450193c254
RDMA: Remove a few extra calls to ib_get_client_data()

These four places already have easy access to the client data, just use
that instead.

Link: https://lore.kernel.org/r/0-v1-fae83f600b4a+68-less_get_client_data%25jgg@mellanox.com
Acked-by: Ursula Braun <ubraun@linux.ibm.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/core/sa_query.c
drivers/infiniband/ulp/srpt/ib_srpt.c
net/smc/smc_ib.c