locking/lockdep: Remove duplicated 'lock_class_ops' percpu array
authorWaiman Long <longman@redhat.com>
Fri, 12 Oct 2018 21:42:27 +0000 (17:42 -0400)
committerIngo Molnar <mingo@kernel.org>
Tue, 16 Oct 2018 06:21:10 +0000 (08:21 +0200)
Remove the duplicated 'lock_class_ops' percpu array that is not used
anywhere.

Signed-off-by: Waiman Long <longman@redhat.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: Will Deacon <will.deacon@arm.com>
Fixes: 8ca2b56cd7da ("locking/lockdep: Make class->ops a percpu counter and move it under CONFIG_DEBUG_LOCKDEP=y")
Link: http://lkml.kernel.org/r/1539380547-16726-1-git-send-email-longman@redhat.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/locking/lockdep.c

index a0f83058d6aa99fe6356e542b88946b9b8f505ad..8a732c8566242ad4b53852a82185015e784f2975 100644 (file)
@@ -436,7 +436,6 @@ unsigned int max_lockdep_depth;
  * Various lockdep statistics:
  */
 DEFINE_PER_CPU(struct lockdep_stats, lockdep_stats);
-DEFINE_PER_CPU(unsigned long [MAX_LOCKDEP_KEYS], lock_class_ops);
 #endif
 
 /*