kernfs: remove the unused lockdep_key field in struct kernfs_ops
authorChristoph Hellwig <hch@lst.de>
Mon, 13 Sep 2021 05:41:11 +0000 (07:41 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Sep 2021 14:55:19 +0000 (16:55 +0200)
Not actually used anywhere.

Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Acked-by: Tejun Heo <tj@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20210913054121.616001-4-hch@lst.de
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/linux/kernfs.h

index cecfeedb7361d9421c790eae23e94b66fff6d744..3ccce6f245484eaccd8d48e98c317ea346c1b599 100644 (file)
@@ -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
 };
 
 /*