mm/sparse: remove redundant judgments from macro for_each_present_section_nr
[linux-2.6-block.git] / mm / sparse.c
index 297a8b772e8dcadb3ed69475340c1f91b403f917..77d91e565045cacdd60c8ceca8019341e499e321 100644 (file)
@@ -172,8 +172,7 @@ static void __section_mark_present(struct mem_section *ms,
 
 #define for_each_present_section_nr(start, section_nr)         \
        for (section_nr = next_present_section_nr(start-1);     \
-            ((section_nr != -1) &&                             \
-             (section_nr <= __highest_present_section_nr));    \
+            section_nr != -1;                                                          \
             section_nr = next_present_section_nr(section_nr))
 
 static inline unsigned long first_present_section_nr(void)