Skip to content

Commit 8cfb791

Browse files
author
J. Bruce Fields
committed
nfsd: remove unused defines
At least one of these is actually wrong anyway. Signed-off-by: J. Bruce Fields <bfields@redhat.com>
1 parent 75c096f commit 8cfb791

1 file changed

Lines changed: 0 additions & 13 deletions

File tree

‎include/linux/nfsd/const.h‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,6 @@
1414
#include <linux/nfs3.h>
1515
#include <linux/nfs4.h>
1616

17-
/*
18-
* Maximum protocol version supported by knfsd
19-
*/
20-
#define NFSSVC_MAXVERS 3
21-
2217
/*
2318
* Maximum blocksizes supported by daemon under various circumstances.
2419
*/
@@ -42,14 +37,6 @@
4237
*/
4338
#define NFSD_BUFSIZE ((RPC_MAX_HEADER_WITH_AUTH+26)*XDR_UNIT + NFSSVC_MAXBLKSIZE)
4439

45-
#ifdef CONFIG_NFSD_V4
46-
# define NFSSVC_XDRSIZE NFS4_SVC_XDRSIZE
47-
#elif defined(CONFIG_NFSD_V3)
48-
# define NFSSVC_XDRSIZE NFS3_SVC_XDRSIZE
49-
#else
50-
# define NFSSVC_XDRSIZE NFS2_SVC_XDRSIZE
51-
#endif
52-
5340
#endif /* __KERNEL__ */
5441

5542
#endif /* _LINUX_NFSD_CONST_H */

0 commit comments

Comments
 (0)