diff options
author | 2020-12-14 19:12:08 -0800 | |
---|---|---|
committer | 2020-12-15 12:13:44 -0800 | |
commit | 39a0feaef1105d79028fac3078e3c67e137ce98d (patch) | |
tree | 50b329cc69e53a8f09c1cab49c789ba08b573c48 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mm: hugetlb: fix type of delta parameter and related local variables in gather_surplus_pages() (diff) | |
download | wireguard-linux-39a0feaef1105d79028fac3078e3c67e137ce98d.tar.xz wireguard-linux-39a0feaef1105d79028fac3078e3c67e137ce98d.zip |
mm,hugetlb: remove unneeded initialization
hugetlb_add_hstate initializes nr_huge_pages and free_huge_pages to 0, but
since hstates[] is a global variable, all its fields are defined to 0
already.
Link: https://lkml.kernel.org/r/20201119112141.6452-1-osalvador@suse.de
Signed-off-by: Oscar Salvador <osalvador@suse.de>
Reviewed-by: Mike Kravetz <mike.kravetz@oracle.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