aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/qedr/main.c
diff options
context:
space:
mode:
authorParav Pandit <parav@mellanox.com>2018-04-01 13:51:28 -0500
committerJason Gunthorpe <jgg@mellanox.com>2018-04-03 13:46:29 -0600
commitca486a3b338ea0858104bab80d86475de3575966 (patch)
treeb6d245bf7052d27aa4afe8976a13fe652ef6a338 /drivers/infiniband/hw/qedr/main.c
parenti40iw: Remove pre-production workaround for resource profile 1 (diff)
downloadlinux-dev-ca486a3b338ea0858104bab80d86475de3575966.tar.xz
linux-dev-ca486a3b338ea0858104bab80d86475de3575966.zip
IB/qedr: Remove GID add/del dummy routines
qedr driver's add_gid() and del_gid() callbacks are doing simple checks which are already done by the ib core before invoking these callback routines. Therefore, code is simplified to skip implementing add_gid() and del_gid() callback functions. Signed-off-by: Parav Pandit <parav@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to '')
-rw-r--r--drivers/infiniband/hw/qedr/main.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/infiniband/hw/qedr/main.c b/drivers/infiniband/hw/qedr/main.c
index 2274d12a4f75..d3ed711b8f92 100644
--- a/drivers/infiniband/hw/qedr/main.c
+++ b/drivers/infiniband/hw/qedr/main.c
@@ -164,9 +164,6 @@ static void qedr_roce_register_device(struct qedr_dev *dev)
dev->ibdev.node_type = RDMA_NODE_IB_CA;
dev->ibdev.query_gid = qedr_query_gid;
- dev->ibdev.add_gid = qedr_add_gid;
- dev->ibdev.del_gid = qedr_del_gid;
-
dev->ibdev.get_port_immutable = qedr_roce_port_immutable;
}