* [PATCH] sh: Remove long unused mid_sched macro
@ 2010-03-20 0:38 Andreas Bombe
2010-03-23 4:36 ` Paul Mundt
0 siblings, 1 reply; 2+ messages in thread
From: Andreas Bombe @ 2010-03-20 0:38 UTC (permalink / raw)
To: linux-sh
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.
Signed-off-by: Andreas Bombe <aeb@debian.org>
---
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(-)
diff --git a/arch/sh/kernel/process_64.c b/arch/sh/kernel/process_64.c
index c90957a..c0d40f6 100644
--- a/arch/sh/kernel/process_64.c
+++ b/arch/sh/kernel/process_64.c
@@ -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)
{
--
1.7.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] sh: Remove long unused mid_sched macro
2010-03-20 0:38 [PATCH] sh: Remove long unused mid_sched macro Andreas Bombe
@ 2010-03-23 4:36 ` Paul Mundt
0 siblings, 0 replies; 2+ messages in thread
From: Paul Mundt @ 2010-03-23 4:36 UTC (permalink / raw)
To: linux-sh
On Sat, Mar 20, 2010 at 01:38:01AM +0100, Andreas Bombe wrote:
> 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.
>
> Signed-off-by: Andreas Bombe <aeb@debian.org>
> ---
>
> 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.
>
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-03-23 4:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-20 0:38 [PATCH] sh: Remove long unused mid_sched macro Andreas Bombe
2010-03-23 4:36 ` Paul Mundt
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).