aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/ib_verbs.h
diff options
context:
space:
mode:
authorKamal Heib <kamalheib1@gmail.com>2019-09-23 13:41:57 +0300
committerJason Gunthorpe <jgg@mellanox.com>2019-10-01 13:06:10 -0300
commit39ce85f3b18597b17a3db74906db2c6360d66c16 (patch)
tree604af8ff4cfdba547b0b8995709724b13ac2a2e2 /drivers/infiniband/hw/bnxt_re/ib_verbs.h
parentRDMA/core: Fix return code when modify_device isn't supported (diff)
downloadlinux-dev-39ce85f3b18597b17a3db74906db2c6360d66c16.tar.xz
linux-dev-39ce85f3b18597b17a3db74906db2c6360d66c16.zip
RDMA/bnxt_re: Remove unsupported modify_device callback
There is no need to return always zero for function which is not supported. Link: https://lore.kernel.org/r/20190923104158.5331-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>
Diffstat (limited to 'drivers/infiniband/hw/bnxt_re/ib_verbs.h')
-rw-r--r--drivers/infiniband/hw/bnxt_re/ib_verbs.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/bnxt_re/ib_verbs.h b/drivers/infiniband/hw/bnxt_re/ib_verbs.h
index 31662b1ee35a..23d972da5652 100644
--- a/drivers/infiniband/hw/bnxt_re/ib_verbs.h
+++ b/drivers/infiniband/hw/bnxt_re/ib_verbs.h
@@ -145,9 +145,6 @@ struct bnxt_re_ucontext {
int bnxt_re_query_device(struct ib_device *ibdev,
struct ib_device_attr *ib_attr,
struct ib_udata *udata);
-int bnxt_re_modify_device(struct ib_device *ibdev,
- int device_modify_mask,
- struct ib_device_modify *device_modify);
int bnxt_re_query_port(struct ib_device *ibdev, u8 port_num,
struct ib_port_attr *port_attr);
int bnxt_re_get_port_immutable(struct ib_device *ibdev, u8 port_num,