diff options
author | Christoph Hellwig <hch@lst.de> | 2021-09-13 08:41:11 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-14 17:55:19 +0300 |
commit | eaf501e0d8af691e532b6b9aee511659cf5ee00c (patch) | |
tree | 302326512077db56aca0dfc662ae11d483f24d9f /include/linux/kernfs.h | |
parent | 2935662449dfa4467d2e769a70801c608fd510c3 (diff) | |
download | linux-eaf501e0d8af691e532b6b9aee511659cf5ee00c.tar.xz |
kernfs: remove the unused lockdep_key field in struct kernfs_ops
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>
Diffstat (limited to 'include/linux/kernfs.h')
-rw-r--r-- | include/linux/kernfs.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/kernfs.h b/include/linux/kernfs.h index cecfeedb7361..3ccce6f24548 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 }; /* |