summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/backchannel_rqst.c
diff options
context:
space:
mode:
authorTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-13 19:20:49 -0400
committerTrond Myklebust <Trond.Myklebust@netapp.com>2011-07-15 09:12:23 -0400
commit9e00abc3c20904fd6a5d888bb7023925799ec8a5 (patch)
treeea6f8749fa21e5b23f02b36c3a82e405b495af0b /net/sunrpc/backchannel_rqst.c
parent1f9453578f059d2651aa6c6b16756627fc9f2a74 (diff)
downloadblackbird-op-linux-9e00abc3c20904fd6a5d888bb7023925799ec8a5.tar.gz
blackbird-op-linux-9e00abc3c20904fd6a5d888bb7023925799ec8a5.zip
SUNRPC: sunrpc should not explicitly depend on NFS config options
Change explicit references to CONFIG_NFS_V4_1 to implicit ones Get rid of the unnecessary defines in backchannel_rqst.c and bc_svc.c: the Makefile takes care of those dependency. Signed-off-by: Trond Myklebust <Trond.Myklebust@netapp.com>
Diffstat (limited to 'net/sunrpc/backchannel_rqst.c')
-rw-r--r--net/sunrpc/backchannel_rqst.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sunrpc/backchannel_rqst.c b/net/sunrpc/backchannel_rqst.c
index cf06af3b63c6..bb5593f467cb 100644
--- a/net/sunrpc/backchannel_rqst.c
+++ b/net/sunrpc/backchannel_rqst.c
@@ -29,8 +29,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define RPCDBG_FACILITY RPCDBG_TRANS
#endif
-#if defined(CONFIG_NFS_V4_1)
-
/*
* Helper routines that track the number of preallocation elements
* on the transport.
@@ -279,4 +277,3 @@ void xprt_free_bc_request(struct rpc_rqst *req)
spin_unlock_bh(&xprt->bc_pa_lock);
}
-#endif /* CONFIG_NFS_V4_1 */
OpenPOWER on IntegriCloud