RDMA/qedr: Remove unsupported qedr_resize_cq callback
authorKamal Heib <kamalheib1@gmail.com>
Mon, 25 Oct 2021 06:26:32 +0000 (09:26 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 25 Oct 2021 17:56:55 +0000 (14:56 -0300)
commite058953c0ed18b5d2e125edec1cb6a258aa52446
treea160fbf113d4c41f57d1127e707c4b5cd439574c
parent86479f8a3fc72df53bb07fe2f26acbd249baebfe
RDMA/qedr: Remove unsupported qedr_resize_cq callback

There is no need to return always zero for function which is not
supported, especially since 0 is the wrong return code.

Fixes: a7efd7773e31 ("qedr: Add support for PD,PKEY and CQ verbs")
Link: https://lore.kernel.org/r/20211025062632.3960-1-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/hw/qedr/main.c
drivers/infiniband/hw/qedr/verbs.c
drivers/infiniband/hw/qedr/verbs.h