diff mbox series

NFS: remove unused struct 'mnt_fhstatus'

Message ID 20240531000033.294044-1-linux@treblig.org (mailing list archive)
State New
Headers show
Series NFS: remove unused struct 'mnt_fhstatus' | expand

Commit Message

Dr. David Alan Gilbert May 31, 2024, midnight UTC
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(-)

Comments

Benjamin Coddington May 31, 2024, 12:28 p.m. UTC | #1
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
diff mbox series

Patch

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