summaryrefslogtreecommitdiffstats
path: root/fs/nfsd
diff options
context:
space:
mode:
authorKinglong Mee <kinglongmee@gmail.com>2013-12-09 11:10:53 +0100
committerJ. Bruce Fields <bfields@redhat.com>2014-01-03 19:44:24 +0100
commitdfeecc829eb8e4ccbbab2ebc9b81b4cebec7fad4 (patch)
treeb4df6819ab62adda91f9f9f0cfd3308d8fc48e80 /fs/nfsd
parentnfsd: clean up unnecessary temporary variable in nfsd4_decode_fattr (diff)
downloadlinux-dfeecc829eb8e4ccbbab2ebc9b81b4cebec7fad4.tar.xz
linux-dfeecc829eb8e4ccbbab2ebc9b81b4cebec7fad4.zip
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>
Diffstat (limited to '')
-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); \