From: Ingo Molnar Date: Mon, 16 Jul 2007 07:46:30 +0000 (+0200) Subject: [PATCH] sched: remove dead code from task_stime() X-Git-Tag: v2.6.23-rc1~780^2~4 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5926c50b83b626991c8c38efbca2020ee96b215f;p=linux-2.6 [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 --- diff --git a/fs/proc/array.c b/fs/proc/array.c index 98e78e2f18..c6977796fa 100644 --- a/fs/proc/array.c +++ b/fs/proc/array.c @@ -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