]> 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)
commit78f48f5d0c863df90e50847f7eb06a065f9ee3bf
treee596cbf4ac56f0b5c66a1bb9366e842f679ecf20
parent3b4ea8f1bbc8dcb13fe6d8de94f5603612447c6b
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