Skip to content

Commit

Permalink
[PATCH] sched: remove dead code from task_stime()
Browse files Browse the repository at this point in the history
Alexey Dobriyan noticed that task_stime() contains a piece of dead code.
(which is a remnant of earlier versions of this code) Remove that code.

Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Ingo Molnar committed Jul 16, 2007
1 parent 8f41958 commit 5926c50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/proc/array.c
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ static clock_t task_utime(struct task_struct *p)

static clock_t task_stime(struct task_struct *p)
{
clock_t stime = cputime_to_clock_t(p->stime);
clock_t stime;

/*
* Use CFS's precise accounting. (we subtract utime from
Expand Down

0 comments on commit 5926c50

Please sign in to comment.