Skip to content

Commit

Permalink
nfsd: remove unused defines
Browse files Browse the repository at this point in the history
At least one of these is actually wrong anyway.

Signed-off-by: J. Bruce Fields <[email protected]>
  • Loading branch information
J. Bruce Fields committed Aug 26, 2011
1 parent 75c096f commit 8cfb791
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions include/linux/nfsd/const.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@
#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.
*/
Expand All @@ -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 */

0 comments on commit 8cfb791

Please sign in to comment.