[2.6 patch] sched.c: remove an unused function (fwd)
From: Adrian Bunk
Date: Tue Dec 07 2004 - 20:31:10 EST
The patch forwarded below (slightly adopted for 2.6.10-rc2-mm4) still
applies.
Please apply.
----- Forwarded message from Adrian Bunk <bunk@xxxxxxxxx> -----
Date: Fri, 29 Oct 2004 02:25:38 +0200
From: Adrian Bunk <bunk@xxxxxxxxx>
To: Nick Piggin <nickpiggin@xxxxxxxxxxxx>
Cc: linux-kernel@xxxxxxxxxxxxxxx
Subject: [2.6 patch] sched.c: remove an unused function
The patch below removes an unused function from kernel/sched.c
diffstat output:
kernel/sched.c | 5 -----
1 files changed, 5 deletions(-)
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
Acked-by: Ingo Molnar <mingo@xxxxxxx>
--- linux-2.6.10-rc2-mm4-full/kernel/sched.c.old 2004-12-08 00:23:37.000000000 +0100
+++ linux-2.6.10-rc2-mm4-full/kernel/sched.c 2004-12-08 01:19:02.000000000 +0100
@@ -446,12 +440,6 @@
return rq;
}
-static inline void rq_unlock(runqueue_t *rq)
- __releases(rq->lock)
-{
- spin_unlock_irq(&rq->lock);
-}
-
#ifdef CONFIG_SCHED_SMT
static int cpu_and_siblings_are_idle(int cpu)
{
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/