linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Kinglong Mee <kinglongmee@gmail.com>
Cc: linux-nfs@vger.kernel.org
Subject: Re: [PATCH] nfsd: get rid of unused macro definition
Date: Thu, 12 Dec 2013 11:36:21 -0500	[thread overview]
Message-ID: <20131212163621.GJ11521@fieldses.org> (raw)
In-Reply-To: <52A5972D.7080705@gmail.com>

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

      reply	other threads:[~2013-12-12 16:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-09 10:10 [PATCH] nfsd: get rid of unused macro definition Kinglong Mee
2013-12-12 16:36 ` J. Bruce Fields [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20131212163621.GJ11521@fieldses.org \
    --to=bfields@fieldses.org \
    --cc=kinglongmee@gmail.com \
    --cc=linux-nfs@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).