OSDN Git Service

RDMA/qedr: Remove unsupported modify_port callback
authorKamal Heib <kamalheib1@gmail.com>
Mon, 28 Oct 2019 15:59:31 +0000 (17:59 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 Nov 2019 17:30:24 +0000 (13:30 -0400)
commitad0593ec8930d2e3fa4252cb7ad666bdfe4ed4f1
tree8358489673f67d88f6c2e205dbb79b8a277f6f67
parent6135b71159de3bc66964ad9157f1a62a77590006
RDMA/qedr: Remove unsupported modify_port callback

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

Fixes: ac1b36e55a51 ("qedr: Add support for user context verbs")
Link: https://lore.kernel.org/r/20191028155931.1114-5-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/qedr/main.c
drivers/infiniband/hw/qedr/verbs.c
drivers/infiniband/hw/qedr/verbs.h