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-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=3c4d293fee4b97f1ca3ba4da3df36786354cc722;p=users%2Fjedix%2Flinux-maple.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 @@ out: 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;