From: Kemeng Shi Date: Sat, 22 Feb 2025 16:08:50 +0000 (+0800) Subject: mm: swap: remove stale comment of swap_reclaim_full_clusters() X-Git-Tag: next-20250224~159^2~4 X-Git-Url: https://gentwo.org/gitweb/?a=commitdiff_plain;h=362c7ad52bfdba84081a1aa98d82ddf9a3f09d99;p=linux%2F.git mm: swap: remove stale comment of swap_reclaim_full_clusters() swap_reclaim_full_clusters() has no return value now, just remove the stale comment which says swap_reclaim_full_clusters() wil return a bool value. Link: https://lkml.kernel.org/r/20250222160850.505274-7-shikemeng@huaweicloud.com Signed-off-by: Kemeng Shi Cc: Kairui Song Signed-off-by: Andrew Morton --- diff --git a/mm/swapfile.c b/mm/swapfile.c index dc9f93b66f69..a7f60006c52c 100644 --- a/mm/swapfile.c +++ b/mm/swapfile.c @@ -820,7 +820,6 @@ static unsigned int alloc_swap_scan_cluster(struct swap_info_struct *si, return found; } -/* Return true if reclaimed a whole cluster */ static void swap_reclaim_full_clusters(struct swap_info_struct *si, bool force) { long to_scan = 1;