mm/sparse: remove redundant judgments from macro for_each_present_section_nr
authorliuq <liuq131@chinatelecom.cn>
Fri, 7 Jul 2023 06:05:01 +0000 (14:05 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 18 Aug 2023 17:12:14 +0000 (10:12 -0700)
commitc200a7119bc7dc9430e8287563e5343b154ff9d0
treed88bd41c439e2b85cbf0d5f0e600ff67ea277b3e
parente6e0c7673012f42c6fb8d89af71cd7607c93e0a5
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>
mm/sparse.c