Browse Source

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: Kinglong Mee <kinglongmee@gmail.com>
Signed-off-by: Trond Myklebust <trond.myklebust@primarydata.com>
Kinglong Mee 10 years ago
parent
commit
39de493e88
2 changed files with 1 additions and 5 deletions
  1. 0 2
      fs/nfs/callback_proc.c
  2. 1 3
      fs/nfs/mount_clnt.c

+ 0 - 2
fs/nfs/callback_proc.c

@@ -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,

+ 1 - 3
fs/nfs/mount_clnt.c

@@ -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
-#endif
+#define NFSDBG_FACILITY	NFSDBG_MOUNT
 
 
 /*
 /*
  * 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