mirror of https://gitee.com/openkylin/linux.git
nfsd: remove the unused PROC() macro in nfs3proc.c
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
parent
f7235b6bc5
commit
9482c9c15c
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue