summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mm/vmstat.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/mm/vmstat.c b/mm/vmstat.c
index dc005a0c96ae..bf62a8232100 100644
--- a/mm/vmstat.c
+++ b/mm/vmstat.c
@@ -563,12 +563,6 @@ static int zoneinfo_show(struct seq_file *m, void *arg)
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"
"\n count: %i"