@@ -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
@@ -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, ...) \
Kill RPC_IFDEBUG() and NFS_IFDEBUG() as they're no longer used. Signed-off-by: David Howells <dhowells@redhat.com> --- include/linux/nfs_fs.h | 2 -- include/linux/sunrpc/debug.h | 2 -- 2 files changed, 4 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html