--- a/mm/vmscan.c~mm-vmscanc-remove-unused-return-value-of-shrink_node +++ a/mm/vmscan.c @@ -2695,7 +2695,7 @@ static void shrink_node_memcgs(pg_data_t } while ((memcg = mem_cgroup_iter(target_memcg, memcg, NULL))); } -static bool shrink_node(pg_data_t *pgdat, struct scan_control *sc) +static void shrink_node(pg_data_t *pgdat, struct scan_control *sc) { struct reclaim_state *reclaim_state = current->reclaim_state; unsigned long nr_reclaimed, nr_scanned; @@ -2874,8 +2874,6 @@ again: */ if (reclaimable) pgdat->kswapd_failures = 0; - - return reclaimable; } /*