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-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d9e0e6aa6d72df21ff190962c842e027fca0e009;p=linux-beck.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 eb7ca49c3260..e62d5b9b1582 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: