[PATCH] NFS: remove unused struct 'mnt_fhstatus'

linux@treblig.org posted 1 patch 1 year, 6 months ago
fs/nfs/mount_clnt.c | 5 -----
1 file changed, 5 deletions(-)
[PATCH] NFS: remove unused struct 'mnt_fhstatus'
Posted by linux@treblig.org 1 year, 6 months ago
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'mnt_fhstatus' has been unused since
commit 065015e5efff ("NFS: Remove unused XDR decoder functions").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 fs/nfs/mount_clnt.c | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/fs/nfs/mount_clnt.c b/fs/nfs/mount_clnt.c
index 68e76b626371..57c9dd700b58 100644
--- a/fs/nfs/mount_clnt.c
+++ b/fs/nfs/mount_clnt.c
@@ -128,11 +128,6 @@ struct mountres {
 	rpc_authflavor_t *auth_flavors;
 };
 
-struct mnt_fhstatus {
-	u32 status;
-	struct nfs_fh *fh;
-};
-
 /**
  * nfs_mount - Obtain an NFS file handle for the given host and path
  * @info: pointer to mount request arguments
-- 
2.45.1
Re: [PATCH] NFS: remove unused struct 'mnt_fhstatus'
Posted by Benjamin Coddington 1 year, 6 months ago
On 30 May 2024, at 20:00, linux@treblig.org wrote:

> From: "Dr. David Alan Gilbert" <linux@treblig.org>
>
> 'mnt_fhstatus' has been unused since
> commit 065015e5efff ("NFS: Remove unused XDR decoder functions").
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Reviewed-by: Benjamin Coddington <bcodding@redhat.com>

Ben