sched/cpuacct: No need to check subsys active state
authorLi Zefan <lizefan@huawei.com>
Fri, 29 Mar 2013 06:44:28 +0000 (14:44 +0800)
committerIngo Molnar <mingo@kernel.org>
Wed, 10 Apr 2013 11:54:22 +0000 (13:54 +0200)
commita2b0ae25fc8bfeeb4022b8e847ab811b3c8368d1
treefde01115c40d05a8fe1fe57a4fa4c8477e8a0528
parent621e2de02403a6f776852c564b79c38bf3cc9032
sched/cpuacct: No need to check subsys active state

Now we're guaranteed when cpuacct_charge() and
cpuacct_account_field() are called, cpuacct has already been
properly initialized, so we no longer need those checks.

Signed-off-by: Li Zefan <lizefan@huawei.com>
Cc: Tejun Heo <tj@kernel.org>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/5155384C.7000508@huawei.com
Signed-off-by: Ingo Molnar <mingo@kernel.org>
kernel/sched/cpuacct.c