aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/bnxt_re/main.c
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/main.c
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/main.c')
-rw-r--r--drivers/infiniband/hw/bnxt_re/main.c1
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 30a54f8aa42c..7b914bdd7c13 100644
--- a/drivers/infiniband/hw/bnxt_re/main.c
+++ b/drivers/infiniband/hw/bnxt_re/main.c
@@ -625,7 +625,6 @@ static const struct ib_device_ops bnxt_re_dev_ops = {
.map_mr_sg = bnxt_re_map_mr_sg,
.mmap = bnxt_re_mmap,
.modify_ah = bnxt_re_modify_ah,
- .modify_device = bnxt_re_modify_device,
.modify_qp = bnxt_re_modify_qp,
.modify_srq = bnxt_re_modify_srq,
.poll_cq = bnxt_re_poll_cq,