summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@redhat.com>2011-08-08 15:09:03 +0400
committerJ. Bruce Fields <bfields@redhat.com>2011-08-27 02:22:51 +0400
commit8cfb79134027e96bc11067da00d7ca73e58e69ce (patch)
tree57c97b0f479adde621475c4fa5336b69928cc0f6 /include
parent75c096f753b273b59f1b9a0745e9e4b5d911a312 (diff)
downloadlinux-8cfb79134027e96bc11067da00d7ca73e58e69ce.tar.xz
nfsd: remove unused defines
At least one of these is actually wrong anyway. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/linux/nfsd/const.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/nfsd/const.h b/include/linux/nfsd/const.h
index 323f8cfa060a..feb3764617a4 100644
--- a/include/linux/nfsd/const.h
+++ b/include/linux/nfsd/const.h
@@ -15,11 +15,6 @@
#include <linux/nfs4.h>
/*
- * Maximum protocol version supported by knfsd
- */
-#define NFSSVC_MAXVERS 3
-
-/*
* Maximum blocksizes supported by daemon under various circumstances.
*/
#define NFSSVC_MAXBLKSIZE RPCSVC_MAXPAYLOAD
@@ -42,14 +37,6 @@
*/
#define NFSD_BUFSIZE ((RPC_MAX_HEADER_WITH_AUTH+26)*XDR_UNIT + NFSSVC_MAXBLKSIZE)
-#ifdef CONFIG_NFSD_V4
-# define NFSSVC_XDRSIZE NFS4_SVC_XDRSIZE
-#elif defined(CONFIG_NFSD_V3)
-# define NFSSVC_XDRSIZE NFS3_SVC_XDRSIZE
-#else
-# define NFSSVC_XDRSIZE NFS2_SVC_XDRSIZE
-#endif
-
#endif /* __KERNEL__ */
#endif /* _LINUX_NFSD_CONST_H */