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>
This commit is contained in:

committed by
Trond Myklebust

parent
10b89567db
commit
f895b252d4
@@ -1042,7 +1042,7 @@ static void svc_unregister(const struct svc_serv *serv, struct net *net)
|
||||
/*
|
||||
* dprintk the given error with the address of the client that caused it.
|
||||
*/
|
||||
#ifdef RPC_DEBUG
|
||||
#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
|
||||
static __printf(2, 3)
|
||||
void svc_printk(struct svc_rqst *rqstp, const char *fmt, ...)
|
||||
{
|
||||
|
Reference in New Issue
Block a user