All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH ibacm 1/8] libacm.c: Remove unneeded structures
@ 2013-08-06 11:45 Hal Rosenstock
  0 siblings, 0 replies; only message in thread
From: Hal Rosenstock @ 2013-08-06 11:45 UTC (permalink / raw)
  To: Hefty, Sean
  Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)


acm_port and acm_device are not used/needed

Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 src/libacm.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)

diff --git a/src/libacm.c b/src/libacm.c
index 1bf7030..4e42233 100644
--- a/src/libacm.c
+++ b/src/libacm.c
@@ -40,21 +40,6 @@
 #include <netdb.h>
 #include <arpa/inet.h>
 
-struct acm_port {
-	uint8_t           port_num;
-	uint16_t          lid;
-	union ibv_gid     gid;
-	int               pkey_cnt;
-	uint16_t          pkey[4];
-};
-
-struct acm_device {
-	struct ibv_context *verbs;
-	uint64_t           guid;
-	int                port_cnt;
-	struct acm_port    *ports;
-};
-
 extern lock_t lock;
 static SOCKET sock = INVALID_SOCKET;
 static short server_port = 6125;
-- 
1.7.8.2

--
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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-08-06 11:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-06 11:45 [PATCH ibacm 1/8] libacm.c: Remove unneeded structures Hal Rosenstock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.