diff options
author | Arnd Bergmann <[email protected]> | 2017-06-08 10:55:33 +0200 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2017-06-12 19:00:55 +0200 |
commit | 57de72125d34f83bfd39615fcc3cc25ca3b9c0ec (patch) | |
tree | 235bacbf3f121016f9d2c747ba468e7a0609964a /tools/perf/util/trace-event-scripting.c | |
parent | e5aeee51f6b4fb22e851105ee6d8ad211c40a214 (diff) |
cpu/hotplug: Remove unused check_for_tasks() function
clang -Wunused-function found one remaining function that was
apparently meant to be removed in a recent code cleanup:
kernel/cpu.c:565:20: warning: unused function 'check_for_tasks' [-Wunused-function]
Sebastian explained: The function became unused unintentionally, but there
is already a failure check, when a task cannot be removed from the outgoing
cpu in the scheduler code, so bringing it back is not really giving any
extra value.
Fixes: 530e9b76ae8f ("cpu/hotplug: Remove obsolete cpu hotplug register/unregister functions")
Signed-off-by: Arnd Bergmann <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Sebastian Andrzej Siewior <[email protected]>
Cc: Boris Ostrovsky <[email protected]>
Cc: Anna-Maria Gleixner <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions