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/sched.c | |
parent | 10b89567db51e143c2f0828839332502916d012d (diff) | |
download | op-kernel-dev-f895b252d4edf66b2895fb5a7b17a638665f3e1f.zip op-kernel-dev-f895b252d4edf66b2895fb5a7b17a638665f3e1f.tar.gz |
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/sched.c')
-rw-r--r-- | net/sunrpc/sched.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index fe3441a..574b297 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -24,7 +24,7 @@ #include "sunrpc.h" -#ifdef RPC_DEBUG +#if IS_ENABLED(CONFIG_SUNRPC_DEBUG) #define RPCDBG_FACILITY RPCDBG_SCHED #endif @@ -258,7 +258,7 @@ static int rpc_wait_bit_killable(struct wait_bit_key *key) return 0; } -#if defined(RPC_DEBUG) || defined(RPC_TRACEPOINTS) +#if IS_ENABLED(CONFIG_SUNRPC_DEBUG) || defined(RPC_TRACEPOINTS) static void rpc_task_set_debuginfo(struct rpc_task *task) { static atomic_t rpc_pid; |