summaryrefslogtreecommitdiff
path: root/net/sunrpc/bc_svc.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/bc_svc.c
parent1f9453578f059d2651aa6c6b16756627fc9f2a74 (diff)
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/bc_svc.c')
-rw-r--r--net/sunrpc/bc_svc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/sunrpc/bc_svc.c b/net/sunrpc/bc_svc.c
index 1dd1a6890007..0b2eb388cbda 100644
--- a/net/sunrpc/bc_svc.c
+++ b/net/sunrpc/bc_svc.c
@@ -27,8 +27,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
* reply over an existing open connection previously established by the client.
*/
-#if defined(CONFIG_NFS_V4_1)
-
#include <linux/module.h>
#include <linux/sunrpc/xprt.h>
@@ -63,4 +61,3 @@ int bc_send(struct rpc_rqst *req)
return ret;
}
-#endif /* CONFIG_NFS_V4_1 */