From: Li Zefan Date: Fri, 29 Mar 2013 06:37:43 +0000 (+0800) Subject: sched/cpuacct: Remove redundant NULL checks in cpuacct_acount_field() X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~118^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5f40d804325e925409907e29f46ecb012090b6c2;p=pandora-kernel.git sched/cpuacct: Remove redundant NULL checks in cpuacct_acount_field() This is a micro optimazation for a hot path. - We don't need to check if @ca returned from task_ca() is NULL. - We don't need to check if @ca returned from parent_ca() is NULL. Signed-off-by: Li Zefan Acked-by: Peter Zijlstra Link: http://lkml.kernel.org/r/515536B7.6060602@huawei.com Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed