@@ -1454,7 +1454,7 @@ static void pagetypeinfo_showfree_print(struct seq_file *m,
1454
1454
}
1455
1455
1456
1456
/* Print out the free pages at each order for each migatetype */
1457
- static int pagetypeinfo_showfree (struct seq_file * m , void * arg )
1457
+ static void pagetypeinfo_showfree (struct seq_file * m , void * arg )
1458
1458
{
1459
1459
int order ;
1460
1460
pg_data_t * pgdat = (pg_data_t * )arg ;
@@ -1466,8 +1466,6 @@ static int pagetypeinfo_showfree(struct seq_file *m, void *arg)
1466
1466
seq_putc (m , '\n' );
1467
1467
1468
1468
walk_zones_in_node (m , pgdat , true, false, pagetypeinfo_showfree_print );
1469
-
1470
- return 0 ;
1471
1469
}
1472
1470
1473
1471
static void pagetypeinfo_showblockcount_print (struct seq_file * m ,
@@ -1503,7 +1501,7 @@ static void pagetypeinfo_showblockcount_print(struct seq_file *m,
1503
1501
}
1504
1502
1505
1503
/* Print out the number of pageblocks for each migratetype */
1506
- static int pagetypeinfo_showblockcount (struct seq_file * m , void * arg )
1504
+ static void pagetypeinfo_showblockcount (struct seq_file * m , void * arg )
1507
1505
{
1508
1506
int mtype ;
1509
1507
pg_data_t * pgdat = (pg_data_t * )arg ;
@@ -1514,8 +1512,6 @@ static int pagetypeinfo_showblockcount(struct seq_file *m, void *arg)
1514
1512
seq_putc (m , '\n' );
1515
1513
walk_zones_in_node (m , pgdat , true, false,
1516
1514
pagetypeinfo_showblockcount_print );
1517
-
1518
- return 0 ;
1519
1515
}
1520
1516
1521
1517
/*
0 commit comments