RDMA/bnxt_re: Delete unsupported modify_port function
authorLeon Romanovsky <leonro@mellanox.com>
Thu, 1 Jun 2017 06:24:34 +0000 (09:24 +0300)
committerDoug Ledford <dledford@redhat.com>
Mon, 24 Jul 2017 12:44:46 +0000 (08:44 -0400)
commit4619ed40d916d32c253cabaeffa32ac98e0876fa
treea9fdfe3708d74e6c65ca2b82df14ead66e0cc99d
parent63a5f483af0ead9e936e8580c6a029b13819b4dc
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>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/ib_verbs.h
drivers/infiniband/hw/bnxt_re/main.c