summaryrefslogtreecommitdiffstats
path: root/net/sunrpc/xprtrdma/rpc_rdma.c
diff options
context:
space:
mode:
authorJeff Layton2014-11-17 22:58:04 +0100
committerTrond Myklebust2014-11-24 23:31:46 +0100
commitf895b252d4edf66b2895fb5a7b17a638665f3e1f (patch)
tree84d62f9a9f361be02f3dcf417664ff7682936353 /net/sunrpc/xprtrdma/rpc_rdma.c
parentlockd: eliminate LOCKD_DEBUG (diff)
downloadkernel-qcow2-linux-f895b252d4edf66b2895fb5a7b17a638665f3e1f.tar.gz
kernel-qcow2-linux-f895b252d4edf66b2895fb5a7b17a638665f3e1f.tar.xz
kernel-qcow2-linux-f895b252d4edf66b2895fb5a7b17a638665f3e1f.zip
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/xprtrdma/rpc_rdma.c')
-rw-r--r--net/sunrpc/xprtrdma/rpc_rdma.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sunrpc/xprtrdma/rpc_rdma.c b/net/sunrpc/xprtrdma/rpc_rdma.c
index 6166c985fe24..df01d124936c 100644
--- a/net/sunrpc/xprtrdma/rpc_rdma.c
+++ b/net/sunrpc/xprtrdma/rpc_rdma.c
@@ -49,11 +49,11 @@
#include <linux/highmem.h>
-#ifdef RPC_DEBUG
+#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
# define RPCDBG_FACILITY RPCDBG_TRANS
#endif
-#ifdef RPC_DEBUG
+#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
static const char transfertypes[][12] = {
"pure inline", /* no chunks */
" read chunk", /* some argument via rdma read */