diff mbox

[rdma-core,04/17] verbs: Remove unused structs

Message ID 20180111221340.965-5-jgg@ziepe.ca (mailing list archive)
State Not Applicable
Headers show

Commit Message

Jason Gunthorpe Jan. 11, 2018, 10:13 p.m. UTC
From: Jason Gunthorpe <jgg@mellanox.com>

Some of these structs are renamed duplicates from the kernel header, others
are just perplexing. In any case we don't use them in rdma-core

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
---
 libibverbs/kern-abi.h | 21 ---------------------
 1 file changed, 21 deletions(-)
diff mbox

Patch

diff --git a/libibverbs/kern-abi.h b/libibverbs/kern-abi.h
index f67ddb10548880..92d750e1d26b09 100644
--- a/libibverbs/kern-abi.h
+++ b/libibverbs/kern-abi.h
@@ -64,16 +64,6 @@ 
  *    different between 32-bit and 64-bit architectures.
  */
 
-struct hdr {
-	__u32 command;
-	__u16 in_words;
-	__u16 out_words;
-};
-
-struct response_hdr {
-	__u64 response;
-};
-
 struct ex_hdr {
 	struct {
 		__u32 command;
@@ -108,17 +98,6 @@  struct ibv_comp_event {
  * the rest of the command struct based on these value.
  */
 
-struct ibv_query_params {
-	__u32 command;
-	__u16 in_words;
-	__u16 out_words;
-	__u64 response;
-};
-
-struct ibv_query_params_resp {
-	__u32 num_cq_events;
-};
-
 struct ibv_get_context {
 	__u32 command;
 	__u16 in_words;