[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130926144532.29424.54343.stgit@warthog.procyon.org.uk>
Date: Thu, 26 Sep 2013 15:45:32 +0100
From: David Howells <dhowells@...hat.com>
To: bfields@...ldses.org, Trond.Myklebust@...app.com
Cc: olof@...om.net, linux-nfs@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH 4/4] SunRPC: Kill RPC_IFDEBUG() and NFS_IFDEBUG()
Kill RPC_IFDEBUG() and NFS_IFDEBUG() as they're no longer used.
Signed-off-by: David Howells <dhowells@...hat.com>
---
include/linux/nfs_fs.h | 2 --
include/linux/sunrpc/debug.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/include/linux/nfs_fs.h b/include/linux/nfs_fs.h
index 3ea4cde..e0e95e2 100644
--- a/include/linux/nfs_fs.h
+++ b/include/linux/nfs_fs.h
@@ -623,9 +623,7 @@ nfs_fileid_to_ino_t(u64 fileid)
# undef ifdebug
# ifdef NFS_DEBUG
# define ifdebug(fac) if (unlikely(nfs_debug & NFSDBG_##fac))
-# define NFS_IFDEBUG(x) x
# else
# define ifdebug(fac) if (0)
-# define NFS_IFDEBUG(x)
# endif
#endif
diff --git a/include/linux/sunrpc/debug.h b/include/linux/sunrpc/debug.h
index 60116cb..fd79089 100644
--- a/include/linux/sunrpc/debug.h
+++ b/include/linux/sunrpc/debug.h
@@ -39,11 +39,9 @@ extern unsigned int nlm_debug;
#ifdef RPC_DEBUG
# define ifdebug(fac) if (unlikely(rpc_debug & RPCDBG_##fac))
# define __dprintk(fmt, ...) printk(KERN_DEFAULT fmt, ##__VA_ARGS__);
-# define RPC_IFDEBUG(x) x
#else
# define ifdebug(fac) if (0)
# define __dprintk(fmt, ...) no_printk(KERN_DEFAULT fmt, ##__VA_ARGS__);
-# define RPC_IFDEBUG(x)
#endif
#define dfprintk(fac, fmt, ...) \
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists