Skip to contentSkip to conversation

libacm.c: Remove unneeded structures

PATCH In review Hal Rosenstock 1 participant 1 message Aug 6, 2013 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/8 libacm.c: Remove unneeded structures

acm_port and acm_device are not used/needed

---
 src/libacm.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
src/libacm.c +0 -15
index 1bf7030..4e42233 100644
@@ -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;
Signature · 6 lines
1.7.8.2

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