diff options
author | Jeff Layton <jlayton@primarydata.com> | 2014-11-17 16:58:05 -0500 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@primarydata.com> | 2014-11-24 17:33:12 -0500 |
commit | 1306729b0d4f4a0bd0d098711ed3d938dc5a1a28 (patch) | |
tree | db1dc2fc2aa94a35de09cacb628262754f4877b4 /net | |
parent | f895b252d4edf66b2895fb5a7b17a638665f3e1f (diff) | |
download | op-kernel-dev-1306729b0d4f4a0bd0d098711ed3d938dc5a1a28.zip op-kernel-dev-1306729b0d4f4a0bd0d098711ed3d938dc5a1a28.tar.gz |
sunrpc: eliminate RPC_TRACEPOINTS
It's always set to the same value as CONFIG_TRACEPOINTS, so we can just
use that instead.
Signed-off-by: Jeff Layton <jlayton@primarydata.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/sunrpc/sched.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/sched.c b/net/sunrpc/sched.c index 574b297..d20f232 100644 --- a/net/sunrpc/sched.c +++ b/net/sunrpc/sched.c @@ -258,7 +258,7 @@ static int rpc_wait_bit_killable(struct wait_bit_key *key) return 0; } -#if IS_ENABLED(CONFIG_SUNRPC_DEBUG) || defined(RPC_TRACEPOINTS) +#if IS_ENABLED(CONFIG_SUNRPC_DEBUG) || IS_ENABLED(CONFIG_TRACEPOINTS) static void rpc_task_set_debuginfo(struct rpc_task *task) { static atomic_t rpc_pid; |