Remove the duplicated lock_class_ops percpu array that is not used anywhere.
Fixes: 8ca2b56cd7da ("locking/lockdep: Make class->ops a percpu counter and move it under CONFIG_DEBUG_LOCKDEP=y") Signed-off-by: Waiman Long <long...@redhat.com> --- kernel/locking/lockdep.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/locking/lockdep.c b/kernel/locking/lockdep.c index 5faeb2e..be76f47 100644 --- a/kernel/locking/lockdep.c +++ b/kernel/locking/lockdep.c @@ -435,7 +435,6 @@ static int save_trace(struct stack_trace *trace) * Various lockdep statistics: */ DEFINE_PER_CPU(struct lockdep_stats, lockdep_stats); -DEFINE_PER_CPU(unsigned long [MAX_LOCKDEP_KEYS], lock_class_ops); #endif /* -- 1.8.3.1