diff options
| author | Muchun Song <[email protected]> | 2022-06-16 11:38:46 +0800 |
|---|---|---|
| committer | akpm <[email protected]> | 2022-07-03 18:08:49 -0700 |
| commit | dc2628f39582e79bce41842fc91235b70054838c (patch) | |
| tree | 473b739eac687e1f7a2cf9cc9a19adda55ed4722 /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 66361095129b3b5d065e6c09cf0c085ef4a8c40f (diff) | |
mm: hugetlb: remove minimum_order variable
commit 641844f5616d ("mm/hugetlb: introduce minimum hugepage order") fixed
a static checker warning and introduced a global variable minimum_order to
fix the warning. However, the local variable in
dissolve_free_huge_pages() can be initialized to
huge_page_order(&default_hstate) to fix the warning.
So remove minimum_order to simplify the code.
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Muchun Song <[email protected]>
Reviewed-by: Oscar Salvador <[email protected]>
Reviewed-by: Mike Kravetz <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions