mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH-tip] locking/lockdep: Remove duplicated lock_class_ops percpu array
@ 2018-10-12 21:42 Waiman Long
  2018-10-16  6:36 ` [tip:locking/core] locking/lockdep: Remove duplicated 'lock_class_ops' " tip-bot for Waiman Long
  0 siblings, 1 reply; 2+ messages in thread
From: Waiman Long @ 2018-10-12 21:42 UTC (permalink / raw)
  To: Peter Zijlstra, Ingo Molnar, Will Deacon, Thomas Gleixner
  Cc: linux-kernel, Waiman Long

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 <longman@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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-16  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-12 21:42 [PATCH-tip] locking/lockdep: Remove duplicated lock_class_ops percpu array Waiman Long
2018-10-16  6:36 ` [tip:locking/core] locking/lockdep: Remove duplicated 'lock_class_ops' " tip-bot for Waiman Long

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®