Commit-ID:  2421b7f3573babfe1673a5ffee1677a5013e6df1
Gitweb:     https://git.kernel.org/tip/2421b7f3573babfe1673a5ffee1677a5013e6df1
Author:     Waiman Long <[email protected]>
AuthorDate: Mon, 19 Nov 2018 13:55:10 -0500
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 11 Dec 2018 14:54:46 +0100

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 <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: Andrew Morton <[email protected]>
Cc: Andrey Ryabinin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Petr Mladek <[email protected]>
Cc: Sasha Levin <[email protected]>
Cc: Sergey Senozhatsky <[email protected]>
Cc: Tejun Heo <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: Will Deacon <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: 
https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
---
 include/linux/lockdep.h | 2 --
 1 file changed, 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 {
         * Generation counter, when doing certain classes of graph walking,
         * to ensure that we check one node only once:
         */
-       unsigned int                    version;
-
        int                             name_version;
        const char                      *name;
 

Reply via email to