From: Christoph Hellwig Date: Mon, 13 Sep 2021 05:41:11 +0000 (+0200) Subject: kernfs: remove the unused lockdep_key field in struct kernfs_ops X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=eaf501e0d8af691e532b6b9aee511659cf5ee00c;p=linux.git kernfs: remove the unused lockdep_key field in struct kernfs_ops Not actually used anywhere. Acked-by: Christian Brauner Acked-by: Tejun Heo Signed-off-by: Christoph Hellwig Link: https://lore.kernel.org/r/20210913054121.616001-4-hch@lst.de Signed-off-by: Greg Kroah-Hartman --- 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 }; /*