Skip to content

Commit

Permalink
sched: remove __update_rq_clock() call from entity_tick()
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Ingo Molnar committed Aug 9, 2007
1 parent 546fe3c commit d9e0e6a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions kernel/sched_fair.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d9e0e6a

Please sign in to comment.