Skip to content

Commit 4766ab5

Browse files
Waiman-LongIngo Molnar
authored andcommitted
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: 8ca2b56 ("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>
1 parent 4de1a29 commit 4766ab5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/locking/lockdep.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,6 @@ unsigned int max_lockdep_depth;
436436
* Various lockdep statistics:
437437
*/
438438
DEFINE_PER_CPU(struct lockdep_stats, lockdep_stats);
439-
DEFINE_PER_CPU(unsigned long [MAX_LOCKDEP_KEYS], lock_class_ops);
440439
#endif
441440

442441
/*

0 commit comments

Comments
 (0)