Commit f82024cb authored by Kemeng Shi's avatar Kemeng Shi Committed by Andrew Morton

mm/compaction: remove unnecessary return for void function

Remove unnecessary return for void function

Link: https://lkml.kernel.org/r/20230804110454.2935878-8-shikemeng@huaweicloud.comSigned-off-by: default avatarKemeng Shi <shikemeng@huaweicloud.com>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Reviewed-by: default avatarBaolin Wang <baolin.wang@linux.alibaba.com>
Cc: Mel Gorman <mgorman@techsingularity.net>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent c3750cc7
......@@ -1444,8 +1444,6 @@ fast_isolate_around(struct compact_control *cc, unsigned long pfn)
/* Skip this pageblock in the future as it's full or nearly full */
if (start_pfn == end_pfn)
set_pageblock_skip(page);
return;
}
/* Search orders in round-robin fashion */
......@@ -2898,7 +2896,7 @@ int compaction_register_node(struct node *node)
void compaction_unregister_node(struct node *node)
{
return device_remove_file(&node->dev, &dev_attr_compact);
device_remove_file(&node->dev, &dev_attr_compact);
}
#endif /* CONFIG_SYSFS && CONFIG_NUMA */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment