]> err.no Git - linux-2.6/commitdiff
SUNRPC: remove extraneous header inclusions
authorChuck Lever <chuck.lever@oracle.com>
Wed, 23 Aug 2006 00:06:18 +0000 (20:06 -0400)
committerTrond Myklebust <Trond.Myklebust@netapp.com>
Sat, 23 Sep 2006 03:24:47 +0000 (23:24 -0400)
include/linux/sunrpc/clnt.h already includes include/linux/sunrpc/xprt.h.
We can remove xprt.h from source files that already include clnt.h.
Likewise include/linux/sunrpc/timer.h.

Test plan:
Compile kernel with CONFIG_NFS enabled.

Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
fs/nfs/mount_clnt.c
include/linux/nfs_xdr.h
net/sunrpc/pmap_clnt.c
net/sunrpc/sched.c
net/sunrpc/timer.c

index 445abb4d42146e445e515c6a85292d8b8ecb1969..41274874b9a571e1aa9fc19c3fd0c6722a6b8d28 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/net.h>
 #include <linux/in.h>
 #include <linux/sunrpc/clnt.h>
-#include <linux/sunrpc/xprt.h>
 #include <linux/sunrpc/sched.h>
 #include <linux/nfs_fs.h>
 
index 2426b11b6cce5093e6eca363db4a213a36ea3311..0f33e621892f5eca239a5fcf8eaf85375296cf52 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef _LINUX_NFS_XDR_H
 #define _LINUX_NFS_XDR_H
 
-#include <linux/sunrpc/xprt.h>
 #include <linux/nfsacl.h>
 
 /*
index 3eee8e907275c7269ef69c3d35d02c636b25590e..523f0e825dea9605c4e4acd583f78d85578cd1a9 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/uio.h>
 #include <linux/in.h>
 #include <linux/sunrpc/clnt.h>
-#include <linux/sunrpc/xprt.h>
 #include <linux/sunrpc/sched.h>
 
 #ifdef RPC_DEBUG
index 015ffe423a2f98aee8430dc2c827968edd0d2f8f..ecf366351bf71725e7eb4bae8d28443ac8f2d262 100644 (file)
@@ -21,7 +21,6 @@
 #include <linux/mutex.h>
 
 #include <linux/sunrpc/clnt.h>
-#include <linux/sunrpc/xprt.h>
 
 #ifdef RPC_DEBUG
 #define RPCDBG_FACILITY                RPCDBG_SCHED
index bcbdf6430d5c0d9f7486fcd8c15c5633489b5856..8142fdb8a9306530452bbe76e6162bc09db42b73 100644 (file)
@@ -19,8 +19,6 @@
 #include <linux/unistd.h>
 
 #include <linux/sunrpc/clnt.h>
-#include <linux/sunrpc/xprt.h>
-#include <linux/sunrpc/timer.h>
 
 #define RPC_RTO_MAX (60*HZ)
 #define RPC_RTO_INIT (HZ/5)