diff options
author | Kamal Heib <kamalheib1@gmail.com> | 2019-10-28 17:59:30 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-11-06 13:29:15 -0400 |
commit | 6135b71159de3bc66964ad9157f1a62a77590006 (patch) | |
tree | 38e5a8ee6f79006a553f10f30dbd26c99e93a9b0 /drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | |
parent | RDMA/hns: Remove unsupported modify_port callback (diff) | |
download | linux-dev-6135b71159de3bc66964ad9157f1a62a77590006.tar.xz linux-dev-6135b71159de3bc66964ad9157f1a62a77590006.zip |
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>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma_verbs.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c index e8267e590772..e72050de5734 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c +++ b/drivers/infiniband/hw/ocrdma/ocrdma_verbs.c @@ -190,12 +190,6 @@ int ocrdma_query_port(struct ib_device *ibdev, return 0; } -int ocrdma_modify_port(struct ib_device *ibdev, u8 port, int mask, - struct ib_port_modify *props) -{ - return 0; -} - static int ocrdma_add_mmap(struct ocrdma_ucontext *uctx, u64 phy_addr, unsigned long len) { |