diff mbox series

[for-next,2/2] RDMA/efa: Remove .create_ah callback assignment

Message ID 20201115103404.48829-3-galpress@amazon.com (mailing list archive)
State Accepted
Delegated to: Jason Gunthorpe
Headers show
Series create_user_ah introduction fixups | expand

Commit Message

Gal Pressman Nov. 15, 2020, 10:34 a.m. UTC
The AH creation flow is now split to two callbacks, based on
uverbs/kverbs. EFA only supports uverbs so the .create_ah assignment can
be removed.

Fixes: 676a80adba01 ("RDMA: Remove AH from uverbs_cmd_mask")
Signed-off-by: Gal Pressman <galpress@amazon.com>
---
 drivers/infiniband/hw/efa/efa_main.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Leon Romanovsky Nov. 15, 2020, 11:15 a.m. UTC | #1
On Sun, Nov 15, 2020 at 12:34:03PM +0200, Gal Pressman wrote:
> The AH creation flow is now split to two callbacks, based on
> uverbs/kverbs. EFA only supports uverbs so the .create_ah assignment can
> be removed.
>
> Fixes: 676a80adba01 ("RDMA: Remove AH from uverbs_cmd_mask")
> Signed-off-by: Gal Pressman <galpress@amazon.com>
> ---
>  drivers/infiniband/hw/efa/efa_main.c | 1 -
>  1 file changed, 1 deletion(-)
>

Thanks,
Acked-by: Leon Romanovsky <leonro@nvidia.com>
diff mbox series

Patch

diff --git a/drivers/infiniband/hw/efa/efa_main.c b/drivers/infiniband/hw/efa/efa_main.c
index 2b3da85fb43c..cb2f2c647ee5 100644
--- a/drivers/infiniband/hw/efa/efa_main.c
+++ b/drivers/infiniband/hw/efa/efa_main.c
@@ -245,7 +245,6 @@  static const struct ib_device_ops efa_dev_ops = {
 	.alloc_hw_stats = efa_alloc_hw_stats,
 	.alloc_pd = efa_alloc_pd,
 	.alloc_ucontext = efa_alloc_ucontext,
-	.create_ah = efa_create_ah,
 	.create_cq = efa_create_cq,
 	.create_qp = efa_create_qp,
 	.create_user_ah = efa_create_ah,