diff options
author | Tomasz Figa <[email protected]> | 2013-09-29 02:37:15 +0200 |
---|---|---|
committer | Mike Turquette <[email protected]> | 2013-10-01 18:40:16 -0700 |
commit | 96a7ed9079a3483c5681b17f4713c37c1cf2b1c9 (patch) | |
tree | 774e563607a79fc5214f628698eb607d8a11c37d /lib/test-string_helpers.c | |
parent | f1c8b2edf916b5be9dc29e98989a5eaff3c6e75b (diff) |
clk: Use kcalloc() to allocate arrays
Instead of calculating sizes of arrays manually, kcalloc() can be used
to allocate arrays of elements with defined size. This is just a cleanup
patch without any functional changes.
Signed-off-by: Tomasz Figa <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions