瀏覽代碼

[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>
Ingo Molnar 18 年之前
父節點
當前提交
5926c50b83
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      fs/proc/array.c

+ 1 - 1
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)
 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
 	 * Use CFS's precise accounting. (we subtract utime from