RDMA/bnxt_re: Delete unsupported modify_port function
authorLeon Romanovsky <[email protected]>
Thu, 1 Jun 2017 06:24:34 +0000 (09:24 +0300)
committerDoug Ledford <[email protected]>
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 <[email protected]>
Reviewed-by: Dennis Dalessandro <[email protected]>
Reviewed-by: Yuval Shaia <[email protected]>
Acked-by: Selvin Xavier <[email protected]>
Signed-off-by: Doug Ledford <[email protected]>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/ib_verbs.h
drivers/infiniband/hw/bnxt_re/main.c