aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorTomasz Figa <[email protected]>2013-09-29 02:37:15 +0200
committerMike Turquette <[email protected]>2013-10-01 18:40:16 -0700
commit96a7ed9079a3483c5681b17f4713c37c1cf2b1c9 (patch)
tree774e563607a79fc5214f628698eb607d8a11c37d /lib/test-string_helpers.c
parentf1c8b2edf916b5be9dc29e98989a5eaff3c6e75b (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