aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMiaohe Lin <[email protected]>2022-09-01 20:00:24 +0800
committerAndrew Morton <[email protected]>2022-09-11 20:26:09 -0700
commit103956805c250ccef3d2a54a0a2e3354291cdd85 (patch)
tree79a74178f95481db4a237a0b0467fcdb10b17b77 /tools/perf/scripts/python
parent3466534131b28e1ee1e7cfd5c77d981ea41b20aa (diff)
hugetlb: use sizeof() to get the array size
It's better to use sizeof() to get the array size instead of manual calculation. Minor readability improvement. Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: Miaohe Lin <[email protected]> Reviewed-by: Muchun Song <[email protected]> Cc: Mike Kravetz <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions