summaryrefslogtreecommitdiffstats
path: root/kernel/sched.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-08-09 11:16:47 +0200
committerIngo Molnar <mingo@elte.hu>2007-08-09 11:16:47 +0200
commit2ab81159fa426bd09c21faf7c25fba13bc9d2902 (patch)
treeb57f7f65f058018cd3fb7a058dadb1ae7ea61dea /kernel/sched.c
parentsched: eliminate rq_clock() use (diff)
downloadlinux-2ab81159fa426bd09c21faf7c25fba13bc9d2902.tar.xz
linux-2ab81159fa426bd09c21faf7c25fba13bc9d2902.zip
sched: remove rq_clock()
remove the now unused rq_clock() function. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to '')
-rw-r--r--kernel/sched.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/kernel/sched.c b/kernel/sched.c
index fe3c152d0c68..893211054790 100644
--- a/kernel/sched.c
+++ b/kernel/sched.c
@@ -368,12 +368,6 @@ static u64 __rq_clock(struct rq *rq)
return rq->clock;
}
-static u64 rq_clock(struct rq *rq)
-{
- update_rq_clock(rq);
- return rq->clock;
-}
-
/*
* The domain tree (rq->sd) is protected by RCU's quiescent state transition.
* See detach_destroy_domains: synchronize_sched for details.