Return-Path: Received: from mail-qk0-f172.google.com ([209.85.220.172]:34344 "EHLO mail-qk0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756524AbdELSd1 (ORCPT ); Fri, 12 May 2017 14:33:27 -0400 Received: by mail-qk0-f172.google.com with SMTP id k74so54890327qke.1 for ; Fri, 12 May 2017 11:33:27 -0700 (PDT) Message-ID: <1494614005.4227.8.camel@redhat.com> Subject: Re: [PATCH 20/33] nfsd: remove the unused PROC() macro in nfs3proc.c From: Jeff Layton To: Christoph Hellwig , Trond Myklebust , Anna Schumaker , "J. Bruce Fields" Cc: linux-nfs@vger.kernel.org Date: Fri, 12 May 2017 14:33:25 -0400 In-Reply-To: <20170512161701.22468-21-hch@lst.de> References: <20170512161701.22468-1-hch@lst.de> <20170512161701.22468-21-hch@lst.de> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Fri, 2017-05-12 at 18:16 +0200, Christoph Hellwig wrote: > Signed-off-by: Christoph Hellwig > --- > fs/nfsd/nfs3proc.c | 12 ------------ > 1 file changed, 12 deletions(-) > > diff --git a/fs/nfsd/nfs3proc.c b/fs/nfsd/nfs3proc.c > index 045c9081eabe..24e035190770 100644 > --- a/fs/nfsd/nfs3proc.c > +++ b/fs/nfsd/nfs3proc.c > @@ -647,18 +647,6 @@ nfsd3_proc_commit(struct svc_rqst * rqstp, struct nfsd3_commitargs *argp, > #define nfsd3_voidres nfsd3_voidargs > struct nfsd3_voidargs { int dummy; }; > > -#define PROC(name, argt, rest, relt, cache, respsize) \ > - { (svc_procfunc) nfsd3_proc_##name, \ > - (kxdrproc_t) nfs3svc_decode_##argt##args, \ > - (kxdrproc_t) nfs3svc_encode_##rest##res, \ > - (kxdrproc_t) nfs3svc_release_##relt, \ > - sizeof(struct nfsd3_##argt##args), \ > - sizeof(struct nfsd3_##rest##res), \ > - 0, \ > - cache, \ > - respsize, \ > - } > - > #define ST 1 /* status*/ > #define FH 17 /* filehandle with length */ > #define AT 21 /* attributes */ Reviewed-by: Jeff Layton