diff options
author | 2021-09-02 15:01:05 -0700 | |
---|---|---|
committer | 2021-09-03 09:58:18 -0700 | |
commit | 64632fd3eb4611780a1190362f2119d8f2bb5465 (patch) | |
tree | 02154b1176d4da1a7e818ed2dc4247c4d3c32c20 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm/vmstat: correct some wrong comments (diff) | |
download | wireguard-linux-64632fd3eb4611780a1190362f2119d8f2bb5465.tar.xz wireguard-linux-64632fd3eb4611780a1190362f2119d8f2bb5465.zip |
mm/vmstat: simplify the array size calculation
We can replace the array_num * sizeof(array[0]) with sizeof(array) to
simplify the code.
Link: https://lkml.kernel.org/r/20210715122911.15700-3-linmiaohe@huawei.com
Signed-off-by: Miaohe Lin <linmiaohe@huawei.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions