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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



'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@xxxxxxxxxx>
---
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





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux