commit | 324d666a5378946dd271c71036792235ef360204 | [log] [tgz] |
---|---|---|
author | Chen Gang <gang.chen@asianux.com> | Tue Nov 12 15:08:42 2013 -0800 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 13 12:09:12 2013 +0900 |
tree | 05fe005c39cd58e81271a6c92176d552d173b44a | |
parent | c725ee54c30b34427cb8fa68d1fe8804aca6d400 [diff] |
kernel/delayacct.c: remove redundant checking in __delayacct_add_tsk() The wrapper function delayacct_add_tsk() already checked 'tsk->delays', and __delayacct_add_tsk() has no another direct callers, so can remove the redundancy checking code. And the label 'done' is also useless, so remove it, too. Signed-off-by: Chen Gang <gang.chen@asianux.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>