aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/main.c
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2021-11-02 09:30:54 +0200
committerJason Gunthorpe <jgg@nvidia.com>2021-11-03 09:06:36 -0300
commitdd83f482d2cd5aa6a515a343b822c12b66661c2e (patch)
treee596cbf4ac56f0b5c66a1bb9366e842f679ecf20 /drivers/infiniband/hw/bnxt_re/main.c
parentMerge branch 'for-rc' into rdma.git for-next (diff)
downloadlinux-dev-dd83f482d2cd5aa6a515a343b822c12b66661c2e.tar.xz
linux-dev-dd83f482d2cd5aa6a515a343b822c12b66661c2e.zip
RDMA/bnxt_re: Remove unsupported bnxt_re_modify_ah callback
There is no need to return always zero for function which is not supported, especially since 0 is the wrong return code. Link: https://lore.kernel.org/r/20211102073054.410838-1-kamalheib1@gmail.com Signed-off-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/bnxt_re/main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/bnxt_re/main.c b/drivers/infiniband/hw/bnxt_re/main.c
index 83c0748e092d..b44944fb9b24 100644
--- a/drivers/infiniband/hw/bnxt_re/main.c
+++ b/drivers/infiniband/hw/bnxt_re/main.c
@@ -696,7 +696,6 @@ static const struct ib_device_ops bnxt_re_dev_ops = {
.get_port_immutable = bnxt_re_get_port_immutable,
.map_mr_sg = bnxt_re_map_mr_sg,
.mmap = bnxt_re_mmap,
- .modify_ah = bnxt_re_modify_ah,
.modify_qp = bnxt_re_modify_qp,
.modify_srq = bnxt_re_modify_srq,
.poll_cq = bnxt_re_poll_cq,