Skip to contentSkip to conversation

examples/riostream.c: Eliminate unneeded include

PATCH Superseded Hal Rosenstock 2 participants 3 messages Mar 3, 2014 2 messages not in the archive InfiniBand

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 2/2 examples/riostream.c: Eliminate unneeded include

---

examples/riostream.c +0 -1
index a1d3671..019d9e1 100644
@@ -44,7 +44,6 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 
-#include <rdma/rdma_cma.h>
 #include <rdma/rsocket.h>
 #include "common.h"
 

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

A message that is not in the archive (sent off-list or not yet received): 5314CD84.5010104-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

#2 lore raw

examples/riostream.c line 47

Quoted 11 lines

---

examples/riostream.c +0 -1
index a1d3671..019d9e1 100644
@@ -44,7 +44,6 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 
-#include <rdma/rdma_cma.h>

Isn't this now needed for rdma_getaddrinfo?
--
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

A message that is not in the archive (sent off-list or not yet received): 1828884A29C6694DAF28B7E6B8A8237388D1F6A0-P5GAC/[email protected]

#4 lore raw
Quoted 10 lines · Sean
Quoted 10 lines

---

examples/riostream.c +0 -0
index a1d3671..019d9e1 100644
@@ -44,7 +44,6 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 
Quoted 3 lines

examples/riostream.c line 47

Quoted 1 line
examples/riostream.c +0 -1
-#include <rdma/rdma_cma.h>

Isn't this now needed for rdma_getaddrinfo?

It's included by rsocket.h so not sure if it should be explicit here or not. I just made the includes consistent with rstream example.

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