* [PATCH] nfsd: get rid of unused macro definition
@ 2013-12-09 10:10 Kinglong Mee
2013-12-12 16:36 ` J. Bruce Fields
0 siblings, 1 reply; 2+ messages in thread
From: Kinglong Mee @ 2013-12-09 10:10 UTC (permalink / raw)
To: J. Bruce Fields; +Cc: linux-nfs
Since defined in Linux-2.6.12-rc2, READTIME has not been used.
Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
---
fs/nfsd/nfs4xdr.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
index ee7237f..fd48536 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); \
--
1.8.4.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] nfsd: get rid of unused macro definition
2013-12-09 10:10 [PATCH] nfsd: get rid of unused macro definition Kinglong Mee
@ 2013-12-12 16:36 ` J. Bruce Fields
0 siblings, 0 replies; 2+ messages in thread
From: J. Bruce Fields @ 2013-12-12 16:36 UTC (permalink / raw)
To: Kinglong Mee; +Cc: linux-nfs
On Mon, Dec 09, 2013 at 06:10:53PM +0800, Kinglong Mee wrote:
> Since defined in Linux-2.6.12-rc2, READTIME has not been used.
Thanks, applying.--b.
>
> Signed-off-by: Kinglong Mee <kinglongmee@gmail.com>
> ---
> fs/nfsd/nfs4xdr.c | 5 -----
> 1 file changed, 5 deletions(-)
>
> diff --git a/fs/nfsd/nfs4xdr.c b/fs/nfsd/nfs4xdr.c
> index ee7237f..fd48536 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); \
> --
> 1.8.4.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-12-12 16:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-12-09 10:10 [PATCH] nfsd: get rid of unused macro definition Kinglong Mee
2013-12-12 16:36 ` J. Bruce Fields
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.