NFSD: remove unused structs 'nfsd3_voidargs'
authorDr. David Alan Gilbert <linux@treblig.org>
Fri, 31 May 2024 00:08:38 +0000 (01:08 +0100)
committerChuck Lever <chuck.lever@oracle.com>
Mon, 8 Jul 2024 18:10:01 +0000 (14:10 -0400)
'nfsd3_voidargs' in nfs[23]acl.c is unused since
commit 788f7183fba8 ("NFSD: Add common helpers to decode void args and
encode void results").

Remove them.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
Reviewed-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
fs/nfsd/nfs2acl.c
fs/nfsd/nfs3acl.c

index 12b2b9bc07bfe3da346fc34bae0f92f4928f77c2..4e3be7201b1c43326cf5c56ddea13057b64631e3 100644 (file)
@@ -308,8 +308,6 @@ static void nfsaclsvc_release_access(struct svc_rqst *rqstp)
        fh_put(&resp->fh);
 }
 
-struct nfsd3_voidargs { int dummy; };
-
 #define ST 1           /* status*/
 #define AT 21          /* attributes */
 #define pAT (1+AT)     /* post attributes - conditional */
index 73adca47d37398961347f602996399275e3c025e..5e34e98db969dbad7bab8fc853daa52bbee6ce2f 100644 (file)
@@ -221,8 +221,6 @@ static void nfs3svc_release_getacl(struct svc_rqst *rqstp)
        posix_acl_release(resp->acl_default);
 }
 
-struct nfsd3_voidargs { int dummy; };
-
 #define ST 1           /* status*/
 #define AT 21          /* attributes */
 #define pAT (1+AT)     /* post attributes - conditional */