Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

nfsd: remove unused defines

At least one of these is actually wrong anyway.

Signed-off-by: J. Bruce Fields <bfields@redhat.com>

-13
-13
include/linux/nfsd/const.h
··· 15 15 #include <linux/nfs4.h> 16 16 17 17 /* 18 - * Maximum protocol version supported by knfsd 19 - */ 20 - #define NFSSVC_MAXVERS 3 21 - 22 - /* 23 18 * Maximum blocksizes supported by daemon under various circumstances. 24 19 */ 25 20 #define NFSSVC_MAXBLKSIZE RPCSVC_MAXPAYLOAD ··· 36 41 * size is rounded up to a page size when allocating space. 37 42 */ 38 43 #define NFSD_BUFSIZE ((RPC_MAX_HEADER_WITH_AUTH+26)*XDR_UNIT + NFSSVC_MAXBLKSIZE) 39 - 40 - #ifdef CONFIG_NFSD_V4 41 - # define NFSSVC_XDRSIZE NFS4_SVC_XDRSIZE 42 - #elif defined(CONFIG_NFSD_V3) 43 - # define NFSSVC_XDRSIZE NFS3_SVC_XDRSIZE 44 - #else 45 - # define NFSSVC_XDRSIZE NFS2_SVC_XDRSIZE 46 - #endif 47 44 48 45 #endif /* __KERNEL__ */ 49 46