aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2007-07-16 03:46:30 -0400
committerIngo Molnar <mingo@elte.hu>2007-07-16 03:46:30 -0400
commit5926c50b83b626991c8c38efbca2020ee96b215f (patch)
tree94aa3db6228de4d61aa63f30c94c4887b860b2b9 /fs
parent8f41958bdd577731f7411c9605cfaa9db6766809 (diff)
[PATCH] sched: remove dead code from task_stime()
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>
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/array.c b/fs/proc/array.c
index 98e78e2f18d6..c6977796fafd 100644
--- a/fs/proc/array.c
+++ b/fs/proc/array.c
@@ -332,7 +332,7 @@ static clock_t task_utime(struct task_struct *p)
332 332
333static clock_t task_stime(struct task_struct *p) 333static clock_t task_stime(struct task_struct *p)
334{ 334{
335 clock_t stime = cputime_to_clock_t(p->stime); 335 clock_t stime;
336 336
337 /* 337 /*
338 * Use CFS's precise accounting. (we subtract utime from 338 * Use CFS's precise accounting. (we subtract utime from