diff --git a/mm/vmstat.c b/mm/vmstat.c index dc005a0c96ae..bf62a8232100 100644 --- a/mm/vmstat.c +++ b/mm/vmstat.c @@ -562,12 +562,6 @@ static int zoneinfo_show(struct seq_file *m, void *arg) int j; pageset = zone_pcp(zone, i); - for (j = 0; j < ARRAY_SIZE(pageset->pcp); j++) { - if (pageset->pcp[j].count) - break; - } - if (j == ARRAY_SIZE(pageset->pcp)) - continue; for (j = 0; j < ARRAY_SIZE(pageset->pcp); j++) { seq_printf(m, "\n cpu: %i pcp: %i"