summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2013-12-09 18:10:53 +0800
committerJ. Bruce Fields <bfields@redhat.com>2014-01-03 13:44:24 -0500
commitdfeecc829eb8e4ccbbab2ebc9b81b4cebec7fad4 (patch)
treeb4df6819ab62adda91f9f9f0cfd3308d8fc48e80
parenteba1c99ce4590506516ec801d991e36aa8b0d436 (diff)
nfsd: get rid of unused macro definition
Since defined in Linux-2.6.12-rc2, READTIME has not been used. Signed-off-by: Kinglong Mee <kinglongmee@gmail.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--fs/nfsd/nfs4xdr.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index b77f6bdd522a..5bef9cb84b07 100644
--- a/fs/nfsd/nfs4xdr.c
+++ b/fs/nfsd/nfs4xdr.c
@@ -103,11 +103,6 @@ xdr_error: \
(x) = (u64)ntohl(*p++) << 32; \
(x) |= ntohl(*p++); \
} while (0)
-#define READTIME(x) do { \
- p++; \
- (x) = ntohl(*p++); \
- p++; \
-} while (0)
#define READMEM(x,nbytes) do { \
x = (char *)p; \
p += XDR_QUADLEN(nbytes); \