diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-11-17 16:58:04 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-11-24 17:31:46 -0500 |
commit | f895b252d4edf66b2895fb5a7b17a638665f3e1f (patch) | |
tree | 84d62f9a9f361be02f3dcf417664ff7682936353 /net/sunrpc/svc.c | |
parent | 10b89567db51e143c2f0828839332502916d012d (diff) |
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.c | 2 |
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) | |||
1042 | /* | 1042 | /* |
1043 | * dprintk the given error with the address of the client that caused it. | 1043 | * dprintk the given error with the address of the client that caused it. |
1044 | */ | 1044 | */ |
1045 | #ifdef RPC_DEBUG | 1045 | #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) |
1046 | static __printf(2, 3) | 1046 | static __printf(2, 3) |
1047 | void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) | 1047 | void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...) |
1048 | { | 1048 | { |