Skip to contentSkip to conversation

examples: Remove unneeded include of header file when using rocket.h

PATCH In review Hal Rosenstock 2 participants 2 messages Sep 12, 2013 – Sep 20, 2013 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 examples: Remove unneeded include of header file when using rocket.h

as it's included in rsocket.h

---

examples/riostream.c +0 -1
index a1d3671..6587707 100644
@@ -43,7 +43,6 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 
-#include <rdma/rdma_cma.h>
 #include <rdma/rsocket.h>
 #include "common.h"
 
examples/rstream.c +0 -1
index 278437f..4e50f94 100644
@@ -43,7 +43,6 @@
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 
-#include <rdma/rdma_cma.h>
 #include <rdma/rsocket.h>
 #include "common.h"
 
examples/udpong.c +0 -1
index af8deb9..58e3d4e 100644
@@ -44,7 +44,6 @@
 #include <netinet/tcp.h>
 #include <arpa/inet.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): 5231B94F.1080606-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

#2 lore raw
Quoted 5 lines

Subject: [PATCH librdmacm] examples: Remove unneeded include of header file when using rocket.h

as it's included in rsocket.h

My preference is to include the file explicitly.
--
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