]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8413aef610d7ab1e13dabbf3ad3149c89acf6f0d
treee596cbf4ac56f0b5c66a1bb9366e842f679ecf20
parent36e7167759af37dcda75babf0e6820c7547938f8
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