diff mbox

nets: remove two duplicated #include

Message ID 20081103121908.GA24634@ubuntu
State Accepted, archived
Delegated to: David Miller
Headers show

Commit Message

Jianjun kong Nov. 3, 2008, 12:19 p.m. UTC
[PATCH] nets: remove two duplicated #include

Removed duplicated #include <rdma/ib_verbs.h> in net/9p/trans_rdma.c
		and  #include <linux/thread_info.h> in net/socket.c

Signed-off-by: Jianjun Kong <jianjun@zeuux.org>
---
 net/9p/trans_rdma.c |    1 -
 net/socket.c        |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

Comments

David Miller Nov. 4, 2008, 2:23 a.m. UTC | #1
From: Jianjun Kong <jianjun@zeuux.org>
Date: Mon, 3 Nov 2008 20:19:08 +0800

> 
> [PATCH] nets: remove two duplicated #include
> 
> Removed duplicated #include <rdma/ib_verbs.h> in net/9p/trans_rdma.c
> 		and  #include <linux/thread_info.h> in net/socket.c
> 
> Signed-off-by: Jianjun Kong <jianjun@zeuux.org>

Applied, thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" 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/net/9p/trans_rdma.c b/net/9p/trans_rdma.c
index 8d6cc47..a7fe63f 100644
--- a/net/9p/trans_rdma.c
+++ b/net/9p/trans_rdma.c
@@ -45,7 +45,6 @@ 
 #include <net/9p/transport.h>
 #include <rdma/ib_verbs.h>
 #include <rdma/rdma_cm.h>
-#include <rdma/ib_verbs.h>
 
 #define P9_PORT			5640
 #define P9_RDMA_SQ_DEPTH	32
diff --git a/net/socket.c b/net/socket.c
index 57550c3..d7128b7 100644
--- a/net/socket.c
+++ b/net/socket.c
@@ -69,7 +69,6 @@ 
 #include <linux/proc_fs.h>
 #include <linux/seq_file.h>
 #include <linux/mutex.h>
-#include <linux/thread_info.h>
 #include <linux/wanrouter.h>
 #include <linux/if_bridge.h>
 #include <linux/if_frad.h>