Thread (1 message) 1 message, 1 author, 2018-01-11
DORMANTno replies

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

From: Jason Gunthorpe <hidden>
Date: 2018-01-11 22:13:27
Subsystem: the rest · Maintainer: Linus Torvalds

From: Jason Gunthorpe <jgg-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

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-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 libibverbs/kern-abi.h | 21 ---------------------
 1 file changed, 21 deletions(-)
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;
-- 
2.15.1

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help