projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8f41958
)
[PATCH] sched: remove dead code from task_stime()
author
Ingo Molnar
<mingo@elte.hu>
Mon, 16 Jul 2007 07:46:30 +0000
(09:46 +0200)
committer
Ingo Molnar
<mingo@elte.hu>
Mon, 16 Jul 2007 07:46:30 +0000
(09:46 +0200)
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>
fs/proc/array.c
patch
|
blob
|
history
diff --git
a/fs/proc/array.c
b/fs/proc/array.c
index 98e78e2f18d66cb4331d394c8543c3e8db4445a4..c6977796fafd6ef6ef153757d6a464776f6300e5 100644
(file)
--- 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