aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorLi Zefan <[email protected]>2009-03-12 09:23:01 +0800
committerIngo Molnar <[email protected]>2009-03-13 04:54:58 +0100
commit7a46c594bf7f1f2eeb1e12d4b857d5f581957a92 (patch)
tree35731095fd8f01938a36d2647995ee86747e3bbf /lib/string_helpers.c
parent65a37b29a8d7492f081d4f8da2227467af1c0c1d (diff)
cpuacct: reduce one NULL check in fast-path
Impact: micro-optimization In cpuacct_charge(), task_ca() will never return NULL, so change for(...) to do { } while(...) to save one NULL check. Signed-off-by: Li Zefan <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Paul Menage <[email protected]> Cc: Balbir Singh <[email protected]> Cc: Bharata B Rao <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions