]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sunrpc: Kill RPC_IFDEBUG()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 4 Feb 2026 20:21:50 +0000 (21:21 +0100)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 30 Mar 2026 01:25:09 +0000 (21:25 -0400)
commitadcc59114ccd402259c089b0fea24da5e4974563
tree2a5951ad5947ef30c44a535295d320fee698d1c3
parentf83c8dda456ce4863f346aa26d88efa276eda35d
sunrpc: Kill RPC_IFDEBUG()

RPC_IFDEBUG() is used in only two places. In one the user of
the definition is guarded by ifdeffery, in the second one
it's implied due to dprintk() usage. Kill the macro and move
the ifdeffery to the regular condition with the variable defined
inside, while in the second case add the same conditional and
move the respective code there.

Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfsfh.c
include/linux/sunrpc/debug.h
net/sunrpc/xprtrdma/svc_rdma_transport.c