Skip to contentSkip to conversation

sched.c: remove an unused function (fwd)

PATCH New Adrian Bunk 1 participant 1 message Dec 8, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 sched.c: remove an unused function (fwd)

The patch forwarded below (slightly adopted for 2.6.10-rc2-mm4) still applies.

Please apply.

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Fri, 29 Oct 2004 02:25:38 +0200
From: Adrian Bunk <[email protected]>
To: Nick Piggin <[email protected]>
Cc: [email protected]
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(-)
kernel/sched.c renamed from kernel/sched.c.old +0 -6
@@ -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)
 {