lkml.org 
[lkml]   [2018]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[tip:locking/core] locking/lockdep: Remove ::version from lock_class structure
    Commit-ID:  2421b7f3573babfe1673a5ffee1677a5013e6df1
    Gitweb: https://git.kernel.org/tip/2421b7f3573babfe1673a5ffee1677a5013e6df1
    Author: Waiman Long <longman@redhat.com>
    AuthorDate: Mon, 19 Nov 2018 13:55:10 -0500
    Committer: Ingo Molnar <mingo@kernel.org>
    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 <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>
    ---
    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;

    \
     
     \ /
      Last update: 2018-12-11 16:24    [W:4.560 / U:0.352 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site