Thread (37 messages) 37 messages, 7 authors, 2021-09-15
STALE1753d LANDED

[PATCH 03/13] kernfs: remove the unused lockdep_key field in struct kernfs_ops

From: Christoph Hellwig <hch@lst.de>
Date: 2021-09-13 05:45:58
Also in: linux-fsdevel, linux-xfs, lkml
Subsystem: kernfs, the rest · Maintainers: Greg Kroah-Hartman, Tejun Heo, Linus Torvalds

No actually used anywhere.

Signed-off-by: Christoph Hellwig <hch@lst.de>
---
 include/linux/kernfs.h | 4 ----
 1 file changed, 4 deletions(-)
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h
index cecfeedb7361d..3ccce6f245484 100644
--- a/include/linux/kernfs.h
+++ b/include/linux/kernfs.h
@@ -269,10 +269,6 @@ struct kernfs_ops {
 			 struct poll_table_struct *pt);
 
 	int (*mmap)(struct kernfs_open_file *of, struct vm_area_struct *vma);
-
-#ifdef CONFIG_DEBUG_LOCK_ALLOC
-	struct lock_class_key	lockdep_key;
-#endif
 };
 
 /*
-- 
2.30.2
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help