From: Ingo Molnar Date: Thu, 9 Aug 2007 09:16:51 +0000 (+0200) Subject: sched: remove __update_rq_clock() call from entity_tick() X-Git-Tag: v2.6.23-rc3~73^2~7 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=d9e0e6aa6d72df21ff190962c842e027fca0e009;p=linux-2.6-omap-h63xx.git sched: remove __update_rq_clock() call from entity_tick() remove __update_rq_clock() call from entity_tick(). no change in functionality because scheduler_tick() already calls __update_rq_clock(). Signed-off-by: Ingo Molnar --- diff --git a/kernel/sched_fair.c b/kernel/sched_fair.c index eb7ca49c326..e62d5b9b158 100644 --- a/kernel/sched_fair.c +++ b/kernel/sched_fair.c @@ -665,11 +665,8 @@ static void put_prev_entity(struct cfs_rq *cfs_rq, struct sched_entity *prev) static void entity_tick(struct cfs_rq *cfs_rq, struct sched_entity *curr) { - struct rq *rq = rq_of(cfs_rq); struct sched_entity *next; - __update_rq_clock(rq); - /* * Dequeue and enqueue the task to update its * position within the tree: