public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] NFS: remove unused struct 'mnt_fhstatus'
@ 2024-05-31  0:00 linux
  2024-05-31 12:28 ` Benjamin Coddington
  0 siblings, 1 reply; 2+ messages in thread
From: linux @ 2024-05-31  0:00 UTC (permalink / raw)
  To: trond.myklebust, anna; +Cc: linux-nfs, linux-kernel, Dr. David Alan Gilbert

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] NFS: remove unused struct 'mnt_fhstatus'
  2024-05-31  0:00 [PATCH] NFS: remove unused struct 'mnt_fhstatus' linux
@ 2024-05-31 12:28 ` Benjamin Coddington
  0 siblings, 0 replies; 2+ messages in thread
From: Benjamin Coddington @ 2024-05-31 12:28 UTC (permalink / raw)
  To: linux; +Cc: trond.myklebust, anna, linux-nfs, linux-kernel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-05-31 12:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-31  0:00 [PATCH] NFS: remove unused struct 'mnt_fhstatus' linux
2024-05-31 12:28 ` Benjamin Coddington

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox