RDMA/bnxt_re: Remove unsupported bnxt_re_modify_ah callback
authorKamal Heib <kamalheib1@gmail.com>
Tue, 2 Nov 2021 07:30:54 +0000 (09:30 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 3 Nov 2021 12:06:36 +0000 (09:06 -0300)
commitdd83f482d2cd5aa6a515a343b822c12b66661c2e
treee596cbf4ac56f0b5c66a1bb9366e842f679ecf20
parent6a463bc9d9997818a2df26c54319dc3a33c7ce38
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>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/ib_verbs.h
drivers/infiniband/hw/bnxt_re/main.c