diff --git a/kernel/acct.c b/kernel/acct.c index 6802020e0ceb07c4078e591373ed4df38471b27a..44dd6bd6351771d674335c9c83e45f393221f8ef 100644 --- a/kernel/acct.c +++ b/kernel/acct.c @@ -599,9 +599,7 @@ void acct_update_integrals(struct task_struct *tsk) */ void acct_clear_integrals(struct task_struct *tsk) { - if (tsk) { - tsk->acct_stimexpd = 0; - tsk->acct_rss_mem1 = 0; - tsk->acct_vm_mem1 = 0; - } + tsk->acct_stimexpd = 0; + tsk->acct_rss_mem1 = 0; + tsk->acct_vm_mem1 = 0; }