Commit 39de493e authored by Kinglong Mee's avatar Kinglong Mee Committed by Trond Myklebust

NFS: Remove unneeded NFS_DEBUG checking before define NFSDBG_FACILITY

It's not needed to checking NFS_DEBUG before define NFSDBG_FACILITY, remove it.
Signed-off-by: default avatarKinglong Mee <kinglongmee@gmail.com>
Signed-off-by: default avatarTrond Myklebust <trond.myklebust@primarydata.com>
parent f765bf76
...@@ -17,9 +17,7 @@ ...@@ -17,9 +17,7 @@
#include "nfs4session.h" #include "nfs4session.h"
#include "nfs4trace.h" #include "nfs4trace.h"
#ifdef NFS_DEBUG
#define NFSDBG_FACILITY NFSDBG_CALLBACK #define NFSDBG_FACILITY NFSDBG_CALLBACK
#endif
__be32 nfs4_callback_getattr(struct cb_getattrargs *args, __be32 nfs4_callback_getattr(struct cb_getattrargs *args,
struct cb_getattrres *res, struct cb_getattrres *res,
......
...@@ -16,9 +16,7 @@ ...@@ -16,9 +16,7 @@
#include <linux/nfs_fs.h> #include <linux/nfs_fs.h>
#include "internal.h" #include "internal.h"
#ifdef NFS_DEBUG #define NFSDBG_FACILITY NFSDBG_MOUNT
# define NFSDBG_FACILITY NFSDBG_MOUNT
#endif
/* /*
* Defined by RFC 1094, section A.3; and RFC 1813, section 5.1.4 * Defined by RFC 1094, section A.3; and RFC 1813, section 5.1.4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment