mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 23:32:14 +00:00
lockd: eliminate LOCKD_DEBUG
LOCKD_DEBUG is always the same value as CONFIG_SUNRPC_DEBUG, so we can just use it instead. Signed-off-by: Jeff Layton <jlayton@primarydata.com> Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
This commit is contained in:
parent
4bd5a980de
commit
10b89567db
2 changed files with 2 additions and 6 deletions
|
@ -17,12 +17,8 @@
|
|||
* Enable lockd debugging.
|
||||
* Requires RPC_DEBUG.
|
||||
*/
|
||||
#ifdef RPC_DEBUG
|
||||
# define LOCKD_DEBUG 1
|
||||
#endif
|
||||
|
||||
#undef ifdebug
|
||||
#if defined(RPC_DEBUG) && defined(LOCKD_DEBUG)
|
||||
#if IS_ENABLED(CONFIG_SUNRPC_DEBUG)
|
||||
# define ifdebug(flag) if (unlikely(nlm_debug & NLMDBG_##flag))
|
||||
#else
|
||||
# define ifdebug(flag) if (0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue