diff options
author | liuq <liuq131@chinatelecom.cn> | 2023-07-07 14:05:01 +0800 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2023-08-18 10:12:14 -0700 |
commit | c200a7119bc7dc9430e8287563e5343b154ff9d0 (patch) | |
tree | d88bd41c439e2b85cbf0d5f0e600ff67ea277b3e /mm/hugetlb_vmemmap.c | |
parent | mm: compaction: skip the memory hole rapidly when isolating free pages (diff) | |
download | linux-c200a7119bc7dc9430e8287563e5343b154ff9d0.tar.gz linux-c200a7119bc7dc9430e8287563e5343b154ff9d0.tar.bz2 linux-c200a7119bc7dc9430e8287563e5343b154ff9d0.zip |
mm/sparse: remove redundant judgments from macro for_each_present_section_nr
next_present_section_nr() has already ensured that
'section_nr<=__highest_present_section_nr', so this check is removed.
Link: https://lkml.kernel.org/r/20230707060501.29184-1-liuq131@chinatelecom.cn
Signed-off-by: liuq <liuq131@chinatelecom.cn>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'mm/hugetlb_vmemmap.c')
0 files changed, 0 insertions, 0 deletions