From 4f4576d40175e3cb215c3ca594d86d1ec3015096 Mon Sep 17 00:00:00 2001 From: Paolo Inaudi Date: Mon, 21 Dec 2015 22:28:46 +0100 Subject: [PATCH] Remove unused FI_SOCKADDR addr_format specifications Signed-off-by: Paolo Inaudi --- pingpong/msg_pingpong.c | 1 - ported/libibverbs/rc_pingpong.c | 1 - simple/cq_data.c | 1 - simple/msg.c | 1 - simple/msg_epoll.c | 1 - simple/rdm_shared_ctx.c | 1 - simple/scalable_ep.c | 1 - streaming/msg_rma.c | 1 - 8 files changed, 8 deletions(-) diff --git a/pingpong/msg_pingpong.c b/pingpong/msg_pingpong.c index b193db65..07d554c1 100644 --- a/pingpong/msg_pingpong.c +++ b/pingpong/msg_pingpong.c @@ -231,7 +231,6 @@ int main(int argc, char **argv) hints->ep_attr->type = FI_EP_MSG; hints->caps = FI_MSG; hints->mode = FI_LOCAL_MR; - hints->addr_format = FI_SOCKADDR; ret = run(); diff --git a/ported/libibverbs/rc_pingpong.c b/ported/libibverbs/rc_pingpong.c index d72f045e..c07b47ff 100644 --- a/ported/libibverbs/rc_pingpong.c +++ b/ported/libibverbs/rc_pingpong.c @@ -527,7 +527,6 @@ int main(int argc, char *argv[]) hints->ep_attr->type = FI_EP_MSG; hints->caps = FI_MSG; hints->mode = FI_LOCAL_MR; - hints->addr_format = FI_SOCKADDR; rc = ft_read_addr_opts(&node, &service, hints, &flags, &opts); if (rc) diff --git a/simple/cq_data.c b/simple/cq_data.c index f1460cda..5557329d 100644 --- a/simple/cq_data.c +++ b/simple/cq_data.c @@ -269,7 +269,6 @@ int main(int argc, char **argv) hints->ep_attr->type = FI_EP_MSG; hints->caps = FI_MSG; hints->mode = FI_LOCAL_MR; - hints->addr_format = FI_SOCKADDR; cq_attr.format = FI_CQ_FORMAT_DATA; diff --git a/simple/msg.c b/simple/msg.c index 7152634f..5aff7de5 100644 --- a/simple/msg.c +++ b/simple/msg.c @@ -233,7 +233,6 @@ int main(int argc, char **argv) hints->ep_attr->type = FI_EP_MSG; hints->caps = FI_MSG; hints->mode = FI_LOCAL_MR; - hints->addr_format = FI_SOCKADDR; ret = run(); diff --git a/simple/msg_epoll.c b/simple/msg_epoll.c index a6879a63..36e2ed57 100644 --- a/simple/msg_epoll.c +++ b/simple/msg_epoll.c @@ -342,7 +342,6 @@ int main(int argc, char **argv) hints->ep_attr->type = FI_EP_MSG; hints->caps = FI_MSG; hints->mode = FI_LOCAL_MR; - hints->addr_format = FI_SOCKADDR; ret = run(); diff --git a/simple/rdm_shared_ctx.c b/simple/rdm_shared_ctx.c index 854064db..1d72fb7b 100644 --- a/simple/rdm_shared_ctx.c +++ b/simple/rdm_shared_ctx.c @@ -424,7 +424,6 @@ int main(int argc, char **argv) hints->ep_attr->type = FI_EP_RDM; hints->caps = FI_MSG | FI_NAMED_RX_CTX; hints->mode = FI_CONTEXT | FI_LOCAL_MR; - hints->addr_format = FI_SOCKADDR; ret = run(); diff --git a/simple/scalable_ep.c b/simple/scalable_ep.c index defaedb4..0e1c832d 100644 --- a/simple/scalable_ep.c +++ b/simple/scalable_ep.c @@ -376,7 +376,6 @@ int main(int argc, char **argv) hints->ep_attr->type = FI_EP_RDM; hints->caps = FI_MSG | FI_NAMED_RX_CTX; hints->mode = FI_LOCAL_MR; - hints->addr_format = FI_SOCKADDR; ret = run(); diff --git a/streaming/msg_rma.c b/streaming/msg_rma.c index b947ee58..a8c1c52b 100644 --- a/streaming/msg_rma.c +++ b/streaming/msg_rma.c @@ -331,7 +331,6 @@ int main(int argc, char **argv) hints->ep_attr->type = FI_EP_MSG; hints->caps = FI_MSG | FI_RMA; hints->mode = FI_LOCAL_MR | FI_RX_CQ_DATA; - hints->addr_format = FI_SOCKADDR; ret = run();