diff mbox

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

Message ID 5231B94F.1080606@dev.mellanox.co.il (mailing list archive)
State Rejected
Headers show

Commit Message

Hal Rosenstock Sept. 12, 2013, 12:53 p.m. UTC
as it's included in rsocket.h

Signed-off-by: Hal Rosenstock <hal@mellanox.com>
---
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Hefty, Sean Sept. 20, 2013, 11:35 p.m. UTC | #1
> 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 majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/examples/riostream.c b/examples/riostream.c
index a1d3671..6587707 100644
--- a/examples/riostream.c
+++ b/examples/riostream.c
@@ -43,7 +43,6 @@ 
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 
-#include <rdma/rdma_cma.h>
 #include <rdma/rsocket.h>
 #include "common.h"
 
diff --git a/examples/rstream.c b/examples/rstream.c
index 278437f..4e50f94 100644
--- a/examples/rstream.c
+++ b/examples/rstream.c
@@ -43,7 +43,6 @@ 
 #include <netinet/in.h>
 #include <netinet/tcp.h>
 
-#include <rdma/rdma_cma.h>
 #include <rdma/rsocket.h>
 #include "common.h"
 
diff --git a/examples/udpong.c b/examples/udpong.c
index af8deb9..58e3d4e 100644
--- a/examples/udpong.c
+++ b/examples/udpong.c
@@ -44,7 +44,6 @@ 
 #include <netinet/tcp.h>
 #include <arpa/inet.h>
 
-#include <rdma/rdma_cma.h>
 #include <rdma/rsocket.h>
 #include "common.h"