diff mbox

[ibacm,1/8] libacm.c: Remove unneeded structures

Message ID 5200E1CA.509@dev.mellanox.co.il (mailing list archive)
State Rejected
Headers show

Commit Message

Hal Rosenstock Aug. 6, 2013, 11:45 a.m. UTC
acm_port and acm_device are not used/needed

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
 src/libacm.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
diff mbox

Patch

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;