NFSD: remove unused structs 'nfsd3_voidargs'
Subsystems (2)
PATCH 1/1 NFSD: remove unused structs 'nfsd3_voidargs'
From: "Dr. David Alan Gilbert" <[email protected]>
'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.
--- fs/nfsd/nfs2acl.c | 2 -- fs/nfsd/nfs3acl.c | 2 -- 2 files changed, 4 deletions(-)
fs/nfsd/nfs2acl.c +0 -2
@@ -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 */
fs/nfsd/nfs3acl.c +0 -2
@@ -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 */
Signature · 1 line
2.45.1
Quoted 40 lines · On Fri, 2024-05-31 at 01:08 +0100, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
nfsd3_voidargs' in nfs[23]acl.c is unused since
commit788f7183fba8("NFSD: Add common helpers to decode void args and
encode void results").Remove them.
Signed-off-by Dr. David Alan Gilbert <[email protected]>---
fs/nfsd/nfs2acl.c | 2 --
fs/nfsd/nfs3acl.c | 2 --2 files changed, 4 deletions(-)fs/nfsd/nfs2acl.c +0
-0@@ -308,8 +308,6 @@ static void nfsaclsvc_release_access(struct svc_rqst *rqstp) fh_put(&resp->fh); }fs/nfsd/nfs2acl.c +0
-2-struct nfsd3_voidargs {int dummy; }; -#define ST 1 /* status*/
#define AT 21 /* attributes */
#define pAT (1+AT) /* post attributes - conditional */fs/nfsd/nfs3acl.c +0
-0@@ -221,8 +221,6 @@ static void nfs3svc_release_getacl(struct svc_rqst *rqstp) posix_acl_release(resp->acl_default); }fs/nfsd/nfs3acl.c +0
-2-struct nfsd3_voidargs {int dummy; }; -
Quoted 3 lines
#define ST 1 /* status*/
#define AT 21 /* attributes */
#define pAT (1+AT) /* post attributes - conditional */
Chuck Lever
AppliedQuoted 43 lines · On Thu, May 30, 2024 at 08:08:38PM -0400, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
'
nfsd3_voidargs' in nfs[23]acl.c is unused since
commit788f7183fba8("NFSD: Add common helpers to decode void args and encode void results").Remove them.
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- fs/nfsd/nfs2acl.c | 2 -- fs/nfsd/nfs3acl.c | 2 -- 2 files changed, 4 deletions(-)fs/nfsd/nfs2acl.c +0
-2@@ -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 */ fs/nfsd/nfs3acl.c +0
-2@@ -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 */ Signature · 1 line
2.45.1
Applied to nfsd-next (for v6.11). Thank you!
Signature · 1 line
Chuck Lever