sh: Remove long unused mid_sched macro
PATCH 1/1 sh: Remove long unused mid_sched macro
interruptible_sleep_on() is referenced for use in the mid_sched macro which is not used anywhere. Remove reference and macro as well as the comment which appears to belong with them.
---
At least the mid_sched name does not appear anywhere else. It doesn't even appear to have been in use at any time during the kernel's git history.
arch/sh/kernel/process_64.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-)
arch/sh/kernel/process_64.c +0 -7
@@ -504,13 +504,6 @@ out:return error; } -/* -* These bracket the sleeping functions.. -*/ -extern void interruptible_sleep_on (wait_queue_head_t *q); - -#define mid_sched ((unsigned long) interruptible_sleep_on) -#ifdef CONFIG_FRAME_POINTER static int in_sh64_switch_to (unsigned long pc) {
Signature · 1 line
1.7.0.2
Paul Mundt
AppliedQuoted 11 lines · Andreas Bombe
interruptible_sleep_on()is referenced for use in themid_schedmacro which is not used anywhere. Remove reference and macro as well as the comment which appears to belong with them.Signed-off-by Andreas Bombe <[email protected]>---
At least the
mid_schedname does not appear anywhere else. It doesn't even appear to have been in use at any time during the kernel's git history.
It definitely predates git, but the sh64 bits haven't had that much work done on them since the BK days, so it's expected that there are still some remnants.
Applied, thanks.