diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2017-06-01 08:24:34 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2017-07-24 14:44:46 +0200 |
commit | 4619ed40d916d32c253cabaeffa32ac98e0876fa (patch) | |
tree | a9fdfe3708d74e6c65ca2b82df14ead66e0cc99d /drivers/infiniband/hw/bnxt_re/main.c | |
parent | IB/cma: Set default gid type to RoCEv2 (diff) | |
download | linux-4619ed40d916d32c253cabaeffa32ac98e0876fa.tar.xz linux-4619ed40d916d32c253cabaeffa32ac98e0876fa.zip |
RDMA/bnxt_re: Delete unsupported modify_port function
There is no need to return always zero for function which is not
supported. The IB stack treats uninitialized ib_device->functions as
not implemented.
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Acked-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to '')
-rw-r--r-- | drivers/infiniband/hw/bnxt_re/main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/bnxt_re/main.c b/drivers/infiniband/hw/bnxt_re/main.c index ceae2d92fb08..deec8002dd36 100644 --- a/drivers/infiniband/hw/bnxt_re/main.c +++ b/drivers/infiniband/hw/bnxt_re/main.c @@ -474,7 +474,6 @@ static int bnxt_re_register_ib(struct bnxt_re_dev *rdev) ibdev->modify_device = bnxt_re_modify_device; ibdev->query_port = bnxt_re_query_port; - ibdev->modify_port = bnxt_re_modify_port; ibdev->get_port_immutable = bnxt_re_get_port_immutable; ibdev->query_pkey = bnxt_re_query_pkey; ibdev->query_gid = bnxt_re_query_gid; |