]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
sched: remove __update_rq_clock() call from entity_tick()
authorIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:51 +0000 (11:16 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 9 Aug 2007 09:16:51 +0000 (11:16 +0200)
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 <mingo@elte.hu>
kernel/sched_fair.c

index eb7ca49c3260e757059d387de8c65774fb30970b..e62d5b9b1582dc66871fd5cc9a002f80cb20fc58 100644 (file)
@@ -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: