OSDN Git Service

RDMA/usnic: Remove the query_pkey callback
authorKamal Heib <kamalheib1@gmail.com>
Thu, 20 Aug 2020 12:53:46 +0000 (15:53 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 27 Aug 2020 12:02:42 +0000 (09:02 -0300)
commitb9caebb290d298a114ed6426e644db9a09560055
tree386eca7dbc110d4aec6274fffaa0d4685396ab2f
parent657360d6c74148f8ade5a39430407d64aa157c38
RDMA/usnic: Remove the query_pkey callback

Now that the query_pkey() isn't mandatory by the RDMA core, this callback
can be removed from the usnic provider. The libfabric userspace never
touches the pkey.

Link: https://lore.kernel.org/r/20200820125346.111902-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/usnic/usnic_ib_main.c
drivers/infiniband/hw/usnic/usnic_ib_verbs.c
drivers/infiniband/hw/usnic/usnic_ib_verbs.h