diff options
author | Waiman Long <longman@redhat.com> | 2018-11-19 13:55:10 -0500 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2018-12-11 08:54:46 -0500 |
commit | 2421b7f3573babfe1673a5ffee1677a5013e6df1 (patch) | |
tree | 824280fdeca7d50123c12c38e06be7c96d9d466a /include/linux/lockdep.h | |
parent | 40e020c129cfc991e8ab4736d2665351ffd1468d (diff) |
locking/lockdep: Remove ::version from lock_class structure
It turns out the version field in the lock_class structure isn't used
anywhere. Just remove it.
Signed-off-by: Waiman Long <longman@redhat.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: Sergey Senozhatsky <sergey.senozhatsky@gmail.com>
Cc: Tejun Heo <tj@kernel.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Cc: iommu@lists.linux-foundation.org
Cc: kasan-dev@googlegroups.com
Link: https://lkml.kernel.org/r/1542653726-5655-2-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'include/linux/lockdep.h')
-rw-r--r-- | include/linux/lockdep.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/lockdep.h b/include/linux/lockdep.h index 1fd82ff99c65..c5335df2372f 100644 --- a/include/linux/lockdep.h +++ b/include/linux/lockdep.h | |||
@@ -97,8 +97,6 @@ struct lock_class { | |||
97 | * Generation counter, when doing certain classes of graph walking, | 97 | * Generation counter, when doing certain classes of graph walking, |
98 | * to ensure that we check one node only once: | 98 | * to ensure that we check one node only once: |
99 | */ | 99 | */ |
100 | unsigned int version; | ||
101 | |||
102 | int name_version; | 100 | int name_version; |
103 | const char *name; | 101 | const char *name; |
104 | 102 | ||