aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/infiniband/sw/rxe/rxe_verbs.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.c b/drivers/infiniband/sw/rxe/rxe_verbs.c
index 08f3e0618b81..a65550d6a849 100644
--- a/drivers/infiniband/sw/rxe/rxe_verbs.c
+++ b/drivers/infiniband/sw/rxe/rxe_verbs.c
@@ -77,21 +77,6 @@ out:
77 return rc; 77 return rc;
78} 78}
79 79
80static int rxe_add_gid(const union ib_gid *gid,
81 const struct ib_gid_attr *attr, void **context)
82{
83 if (attr->index >= RXE_PORT_GID_TBL_LEN)
84 return -EINVAL;
85 return 0;
86}
87
88static int rxe_del_gid(const struct ib_gid_attr *attr, void **context)
89{
90 if (attr->index >= RXE_PORT_GID_TBL_LEN)
91 return -EINVAL;
92 return 0;
93}
94
95static struct net_device *rxe_get_netdev(struct ib_device *device, 80static struct net_device *rxe_get_netdev(struct ib_device *device,
96 u8 port_num) 81 u8 port_num)
97{ 82{
@@ -1265,8 +1250,6 @@ int rxe_register_device(struct rxe_dev *rxe)
1265 dev->modify_port = rxe_modify_port; 1250 dev->modify_port = rxe_modify_port;
1266 dev->get_link_layer = rxe_get_link_layer; 1251 dev->get_link_layer = rxe_get_link_layer;
1267 dev->get_netdev = rxe_get_netdev; 1252 dev->get_netdev = rxe_get_netdev;
1268 dev->add_gid = rxe_add_gid;
1269 dev->del_gid = rxe_del_gid;
1270 dev->query_pkey = rxe_query_pkey; 1253 dev->query_pkey = rxe_query_pkey;
1271 dev->alloc_ucontext = rxe_alloc_ucontext; 1254 dev->alloc_ucontext = rxe_alloc_ucontext;
1272 dev->dealloc_ucontext = rxe_dealloc_ucontext; 1255 dev->dealloc_ucontext = rxe_dealloc_ucontext;