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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 libibverbs/driver.h       | 4 ----
 libibverbs/libibverbs.map | 2 --
 2 files changed, 6 deletions(-)

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..007a683 100644
--- a/libibverbs/libibverbs.map
+++ b/libibverbs/libibverbs.map
@@ -12,8 +12,6 @@ IBVERBS_1.0 {
 		ibv_query_device;
 		ibv_query_device_ex;
 		ibv_query_port;
-		ibv_query_gid;
-		ibv_query_pkey;
 		ibv_alloc_pd;
 		ibv_dealloc_pd;
 		ibv_reg_mr;
-- 
2.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux