summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/svc.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-11-17 22:58:04 +0100
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-11-24 23:31:46 +0100
commitf895b252d4edf66b2895fb5a7b17a638665f3e1f (patch)
tree84d62f9a9f361be02f3dcf417664ff7682936353 /net/sunrpc/svc.c
parentlockd: eliminate LOCKD_DEBUG (diff)
downloadlinux-f895b252d4edf66b2895fb5a7b17a638665f3e1f.tar.xz
linux-f895b252d4edf66b2895fb5a7b17a638665f3e1f.zip
sunrpc: eliminate RPC_DEBUG
It's always set to whatever CONFIG_SUNRPC_DEBUG is, so just use that. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net/sunrpc/svc.c')
-rw-r--r--net/sunrpc/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index 371a8bbb43d6..2783fd80c229 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -1042,7 +1042,7 @@ static void svc_unregister(const struct svc_serv *serv, struct net *net)
/*
* dprintk the given error with the address of the client that caused it.
*/
-#ifdef RPC_DEBUG
+#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
static __printf(2, 3)
void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...)
{