diff mbox

[rdma-core,v2] ibverbs: remove unused ibv command declarations

Message ID 1486289686-17903-1-git-send-email-Ram.Amrani@cavium.com (mailing list archive)
State Accepted
Headers show

Commit Message

Amrani, Ram Feb. 5, 2017, 10:14 a.m. UTC
Remove the IBV command declarations ibv_cmd_query_gid and
ibv_cmd_query_pkey as they are not implemented.

Signed-off-by: Ram Amrani <Ram.Amrani@cavium.com>
---
 libibverbs/driver.h       | 4 ----
 libibverbs/libibverbs.map | 2 --
 2 files changed, 6 deletions(-)
diff mbox

Patch

diff --git a/libibverbs/driver.h b/libibverbs/driver.h
index 8ed2d30..5d29b14 100644
--- a/libibverbs/driver.h
+++ b/libibverbs/driver.h
@@ -123,10 +123,6 @@  int ibv_cmd_query_device_ex(struct ibv_context *context,
 int ibv_cmd_query_port(struct ibv_context *context, uint8_t port_num,
 		       struct ibv_port_attr *port_attr,
 		       struct ibv_query_port *cmd, size_t cmd_size);
-int ibv_cmd_query_gid(struct ibv_context *context, uint8_t port_num,
-		      int index, union ibv_gid *gid);
-int ibv_cmd_query_pkey(struct ibv_context *context, uint8_t port_num,
-		       int index, uint16_t *pkey);
 int ibv_cmd_alloc_pd(struct ibv_context *context, struct ibv_pd *pd,
 		     struct ibv_alloc_pd *cmd, size_t cmd_size,
 		     struct ibv_alloc_pd_resp *resp, size_t resp_size);
diff --git a/libibverbs/libibverbs.map b/libibverbs/libibverbs.map
index d510c86..656c21d 100644
--- a/libibverbs/libibverbs.map
+++ b/libibverbs/libibverbs.map
@@ -128,8 +128,6 @@  IBVERBS_PRIVATE_13 {
 		ibv_cmd_post_srq_recv;
 		ibv_cmd_query_device;
 		ibv_cmd_query_device_ex;
-		ibv_cmd_query_gid;
-		ibv_cmd_query_pkey;
 		ibv_cmd_query_port;
 		ibv_cmd_query_qp;
 		ibv_cmd_query_srq;