]> git.openfabrics.org - ~shefty/ibacm.git/commitdiff
libacm.c: Remove unneeded structures
authorHal Rosenstock <hal@dev.mellanox.co.il>
Tue, 6 Aug 2013 11:45:14 +0000 (07:45 -0400)
committerSean Hefty <sean.hefty@intel.com>
Mon, 12 Aug 2013 17:16:18 +0000 (10:16 -0700)
acm_port and acm_device are not used/needed

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
src/libacm.c

index 1bf703098a832d999e15dd0bacbbb768b9c485c0..4e42233616b9037588a125d33f7d23cb7bd3a1af 100644 (file)
 #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;