[PATCH] afs: Remove the unused lock_manager_mutex field from struct afs_net

Christophe JAILLET posted 1 patch 1 year, 5 months ago
fs/afs/internal.h | 3 ---
1 file changed, 3 deletions(-)
[PATCH] afs: Remove the unused lock_manager_mutex field from struct afs_net
Posted by Christophe JAILLET 1 year, 5 months ago
'lock_manager_mutex' has been introduced in commit f044c8847bb6 ("afs: Lay
the groundwork for supporting network namespaces") in 2017-12, but was
already unused at this time.

It is still unused now, so remove it.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
---
Compile tested only
---
 fs/afs/internal.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/fs/afs/internal.h b/fs/afs/internal.h
index 6e1d3c4daf72..a09459cebba9 100644
--- a/fs/afs/internal.h
+++ b/fs/afs/internal.h
@@ -331,9 +331,6 @@ struct afs_net {
 	struct timer_list	fs_probe_timer;
 	atomic_t		servers_outstanding;
 
-	/* File locking renewal management */
-	struct mutex		lock_manager_mutex;
-
 	/* Misc */
 	struct super_block	*dynroot_sb;	/* Dynamic root mount superblock */
 	struct proc_dir_entry	*proc_afs;	/* /proc/net/afs directory */
-- 
2.46.0