]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
NFS: Remove unneeded NFS_DEBUG checking before define NFSDBG_FACILITY
authorKinglong Mee <kinglongmee@gmail.com>
Thu, 24 Sep 2015 12:57:03 +0000 (20:57 +0800)
committerTrond Myklebust <trond.myklebust@primarydata.com>
Wed, 21 Oct 2015 20:49:23 +0000 (15:49 -0500)
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>
fs/nfs/callback_proc.c
fs/nfs/mount_clnt.c

index b85cf7a30232a39fb5049a098a0bde40a9563df2..807eb6ef4f91631264a140758e7e314ca4885771 100644 (file)
@@ -17,9 +17,7 @@
 #include "nfs4session.h"
 #include "nfs4trace.h"
 
-#ifdef NFS_DEBUG
 #define NFSDBG_FACILITY NFSDBG_CALLBACK
-#endif
 
 __be32 nfs4_callback_getattr(struct cb_getattrargs *args,
                             struct cb_getattrres *res,
index 99a45283b9ee5abfe2bb680c51c2b4805f459d2b..09b190015df41b4b1a36380011b59c4a8853c0af 100644 (file)
@@ -16,9 +16,7 @@
 #include <linux/nfs_fs.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