nfsd: get rid of unused macro definition
authorKinglong Mee <kinglongmee@gmail.com>
Mon, 9 Dec 2013 10:10:53 +0000 (18:10 +0800)
committerJ. Bruce Fields <bfields@redhat.com>
Fri, 3 Jan 2014 18:44:24 +0000 (13:44 -0500)
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>
fs/nfsd/nfs4xdr.c

index b77f6bdd522ac2215f0e0465513f74a9ed276e13..5bef9cb84b07832abcd4c8818cd9a2c0e9de3fc3 100644 (file)
@@ -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);               \