Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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,
+1 −3
Original line number Diff line number Diff line
@@ -16,9 +16,7 @@
#include <linux/nfs_fs.h>
#include "internal.h"

#ifdef NFS_DEBUG
#define NFSDBG_FACILITY	NFSDBG_MOUNT
#endif

/*
 * Defined by RFC 1094, section A.3; and RFC 1813, section 5.1.4