nfsd: remove unused defines
authorJ. Bruce Fields <bfields@redhat.com>
Mon, 8 Aug 2011 11:09:03 +0000 (07:09 -0400)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 26 Aug 2011 22:22:51 +0000 (18:22 -0400)
At least one of these is actually wrong anyway.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>
include/linux/nfsd/const.h

index 323f8cfa060a4c74ec0d23366b1becc8cd9a7e16..feb3764617a424848772d7d27775553fccba9b46 100644 (file)
 #include <linux/nfs3.h>
 #include <linux/nfs4.h>
 
-/*
- * Maximum protocol version supported by knfsd
- */
-#define NFSSVC_MAXVERS         3
-
 /*
  * Maximum blocksizes supported by daemon under various circumstances.
  */
  */
 #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 */