projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eba1c99
)
nfsd: get rid of unused macro definition
author
Kinglong Mee
<kinglongmee@gmail.com>
Mon, 9 Dec 2013 10:10:53 +0000
(18:10 +0800)
committer
J. 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
patch
|
blob
|
history
diff --git
a/fs/nfsd/nfs4xdr.c
b/fs/nfsd/nfs4xdr.c
index b77f6bdd522ac2215f0e0465513f74a9ed276e13..5bef9cb84b07832abcd4c8818cd9a2c0e9de3fc3 100644
(file)
--- 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); \