RDMA/ocrdma: Remove unsupported modify_port callback
authorKamal Heib <kamalheib1@gmail.com>
Mon, 28 Oct 2019 15:59:30 +0000 (17:59 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 Nov 2019 17:29:15 +0000 (13:29 -0400)
commit6135b71159de3bc66964ad9157f1a62a77590006
tree38e5a8ee6f79006a553f10f30dbd26c99e93a9b0
parent25f3b49b9288a873b8c2ed94d7f66fad74e82296
RDMA/ocrdma: Remove unsupported modify_port callback

There is no need to return always zero for function which is not
supported.

Fixes: fe2caefcdf58 ("RDMA/ocrdma: Add driver for Emulex OneConnect IBoE RDMA adapter")
Link: https://lore.kernel.org/r/20191028155931.1114-4-kamalheib1@gmail.com
Signed-off-by: Kamal Heib <kamalheib1@gmail.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/ocrdma/ocrdma_main.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.c
drivers/infiniband/hw/ocrdma/ocrdma_verbs.h