diff options
| author | Anders Roxell <[email protected]> | 2019-05-16 21:13:26 +0200 |
|---|---|---|
| committer | Ingo Molnar <[email protected]> | 2019-05-24 09:05:46 +0200 |
| commit | c0090c4c85c27d1fa3d785c935501b7207cd2869 (patch) | |
| tree | 0c843ea366adc52ccd7682a07e8a55c0e82af84d /tools/perf/scripts/python | |
| parent | 978315462d3ea3cf6cfacd34c563ec1eb02a3aa5 (diff) | |
locking/lockdep: Remove the unused print_lock_trace() function
gcc warns that function print_lock_trace() is unused if
CONFIG_PROVE_LOCKING isn't set:
../kernel/locking/lockdep.c:2820:13: warning: ‘print_lock_trace’ defined but not used [-Wunused-function]
Rework so we remove the function if CONFIG_PROVE_LOCKING isn't set.
Signed-off-by: Anders Roxell <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Cc: [email protected]
Fixes: c120bce78065 ("lockdep: Simplify stack trace handling")
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions