Skip to contentSkip to conversation

nfsd: get rid of unused macro definition

PATCH In review Kinglong Mee 2 participants 2 messages Dec 9, 2013 – Dec 12, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 nfsd: get rid of unused macro definition

Since defined in Linux-2.6.12-rc2, READTIME has not been used.

---
 fs/nfsd/nfs4xdr.c | 5 -----
 1 file changed, 5 deletions(-)
fs/nfsd/nfs4xdr.c +0 -5
index ee7237f..fd48536 100644
@@ -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);		\
Signature · 1 line
1.8.4.2
#1 lore raw
Quoted 1 line · Kinglong Mee

Since defined in Linux-2.6.12-rc2, READTIME has not been used.

Thanks, applying.--b.

Quoted 24 lines
---
 fs/nfsd/nfs4xdr.c | 5 -----
 1 file changed, 5 deletions(-)
fs/nfsd/nfs4xdr.c +0 -5
index ee7237f..fd48536 100644
@@ -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);		\
Signature · 1 line
1.8.4.2