diff options
author | J. Bruce Fields <bfields@redhat.com> | 2011-08-08 07:09:03 -0400 |
---|---|---|
committer | J. Bruce Fields <bfields@redhat.com> | 2011-08-26 18:22:51 -0400 |
commit | 8cfb79134027e96bc11067da00d7ca73e58e69ce (patch) | |
tree | 57c97b0f479adde621475c4fa5336b69928cc0f6 /include | |
parent | 75c096f753b273b59f1b9a0745e9e4b5d911a312 (diff) |
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.h | 13 |
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 @@ | |||
15 | #include <linux/nfs4.h> | 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 | * Maximum blocksizes supported by daemon under various circumstances. | 18 | * Maximum blocksizes supported by daemon under various circumstances. |
24 | */ | 19 | */ |
25 | #define NFSSVC_MAXBLKSIZE RPCSVC_MAXPAYLOAD | 20 | #define NFSSVC_MAXBLKSIZE RPCSVC_MAXPAYLOAD |
@@ -42,14 +37,6 @@ | |||
42 | */ | 37 | */ |
43 | #define NFSD_BUFSIZE ((RPC_MAX_HEADER_WITH_AUTH+26)*XDR_UNIT + NFSSVC_MAXBLKSIZE) | 38 | #define NFSD_BUFSIZE ((RPC_MAX_HEADER_WITH_AUTH+26)*XDR_UNIT + NFSSVC_MAXBLKSIZE) |
44 | 39 | ||
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 | |||
53 | #endif /* __KERNEL__ */ | 40 | #endif /* __KERNEL__ */ |
54 | 41 | ||
55 | #endif /* _LINUX_NFSD_CONST_H */ | 42 | #endif /* _LINUX_NFSD_CONST_H */ |