Skip to content

Commit 022d057

Browse files
Dr. David Alan Gilbertchucklever
authored andcommitted
NFSD: remove unused structs 'nfsd3_voidargs'
'nfsd3_voidargs' in nfs[23]acl.c is unused since commit 788f718 ("NFSD: Add common helpers to decode void args and encode void results"). Remove them. Signed-off-by: Dr. David Alan Gilbert <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Chuck Lever <[email protected]>
1 parent dbc834e commit 022d057

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

fs/nfsd/nfs2acl.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,6 @@ static void nfsaclsvc_release_access(struct svc_rqst *rqstp)
308308
fh_put(&resp->fh);
309309
}
310310

311-
struct nfsd3_voidargs { int dummy; };
312-
313311
#define ST 1 /* status*/
314312
#define AT 21 /* attributes */
315313
#define pAT (1+AT) /* post attributes - conditional */

fs/nfsd/nfs3acl.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,6 @@ static void nfs3svc_release_getacl(struct svc_rqst *rqstp)
221221
posix_acl_release(resp->acl_default);
222222
}
223223

224-
struct nfsd3_voidargs { int dummy; };
225-
226224
#define ST 1 /* status*/
227225
#define AT 21 /* attributes */
228226
#define pAT (1+AT) /* post attributes - conditional */

0 commit comments

Comments
 (0)