summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/auth_null.c
diff options
context:
space:
mode:
authorJeff Layton <jlayton@primarydata.com>2014-11-17 16:58:04 -0500
committerTrond Myklebust <trond.myklebust@primarydata.com>2014-11-24 17:31:46 -0500
commitf895b252d4edf66b2895fb5a7b17a638665f3e1f (patch)
tree84d62f9a9f361be02f3dcf417664ff7682936353 /net/sunrpc/auth_null.c
parent10b89567db51e143c2f0828839332502916d012d (diff)
downloadop-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/auth_null.c')
-rw-r--r--net/sunrpc/auth_null.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/auth_null.c b/net/sunrpc/auth_null.c
index 712c123..c2a2b58 100644
--- a/net/sunrpc/auth_null.c
+++ b/net/sunrpc/auth_null.c
@@ -10,7 +10,7 @@
#include <linux/module.h>
#include <linux/sunrpc/clnt.h>
-#ifdef RPC_DEBUG
+#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
# define RPCDBG_FACILITY RPCDBG_AUTH
#endif
@@ -138,7 +138,7 @@ struct rpc_cred null_cred = {
.cr_ops = &null_credops,
.cr_count = ATOMIC_INIT(1),
.cr_flags = 1UL << RPCAUTH_CRED_UPTODATE,
-#ifdef RPC_DEBUG
+#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
.cr_magic = RPCAUTH_CRED_MAGIC,
#endif
};
OpenPOWER on IntegriCloud