OSDN Git Service

RDMA/hns: Remove unsupported modify_port callback
authorKamal Heib <kamalheib1@gmail.com>
Mon, 28 Oct 2019 15:59:29 +0000 (17:59 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Wed, 6 Nov 2019 17:29:15 +0000 (13:29 -0400)
commit25f3b49b9288a873b8c2ed94d7f66fad74e82296
treeb5d69c21cf21d9c8ad0131615813a81544a89cd1
parent55bfe905fa97633438c13fb029aed85371d85480
RDMA/hns: Remove unsupported modify_port callback

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

Fixes: 9a4435375cd1 ("IB/hns: Add driver files for hns RoCE driver")
Link: https://lore.kernel.org/r/20191028155931.1114-3-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/hns/hns_roce_main.c