locking/lockdep: Remove duplicated 'lock_class_ops' percpu array

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: 8ca2b56cd7 ("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>
This commit is contained in:
Waiman Long 2018-10-12 17:42:27 -04:00 committed by Ingo Molnar
parent 4de1a293a0
commit 4766ab5677

View File

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