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/clnt.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/clnt.c')
-rw-r--r-- | net/sunrpc/clnt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sunrpc/clnt.c b/net/sunrpc/clnt.c index 9acd6ce88db7..36c64ef460cf 100644 --- a/net/sunrpc/clnt.c +++ b/net/sunrpc/clnt.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #include "sunrpc.h" | 42 | #include "sunrpc.h" |
43 | #include "netns.h" | 43 | #include "netns.h" |
44 | 44 | ||
45 | #ifdef RPC_DEBUG | 45 | #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) |
46 | # define RPCDBG_FACILITY RPCDBG_CALL | 46 | # define RPCDBG_FACILITY RPCDBG_CALL |
47 | #endif | 47 | #endif |
48 | 48 | ||
@@ -1396,7 +1396,7 @@ rpc_restart_call(struct rpc_task *task) | |||
1396 | } | 1396 | } |
1397 | EXPORT_SYMBOL_GPL(rpc_restart_call); | 1397 | EXPORT_SYMBOL_GPL(rpc_restart_call); |
1398 | 1398 | ||
1399 | #ifdef RPC_DEBUG | 1399 | #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) |
1400 | static const char *rpc_proc_name(const struct rpc_task *task) | 1400 | static const char *rpc_proc_name(const struct rpc_task *task) |
1401 | { | 1401 | { |
1402 | const struct rpc_procinfo *proc = task->tk_msg.rpc_proc; | 1402 | const struct rpc_procinfo *proc = task->tk_msg.rpc_proc; |
@@ -2421,7 +2421,7 @@ struct rpc_task *rpc_call_null(struct rpc_clnt *clnt, struct rpc_cred *cred, int | |||
2421 | } | 2421 | } |
2422 | EXPORT_SYMBOL_GPL(rpc_call_null); | 2422 | EXPORT_SYMBOL_GPL(rpc_call_null); |
2423 | 2423 | ||
2424 | #ifdef RPC_DEBUG | 2424 | #if IS_ENABLED(CONFIG_SUNRPC_DEBUG) |
2425 | static void rpc_show_header(void) | 2425 | static void rpc_show_header(void) |
2426 | { | 2426 | { |
2427 | printk(KERN_INFO "-pid- flgs status -client- --rqstp- " | 2427 | printk(KERN_INFO "-pid- flgs status -client- --rqstp- " |