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: v6.15-rc1~81^2~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a8a5b6c4129e61070eb9a45979c395fb6ab31c4;p=thirdparty%2Fkernel%2Flinux.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 dc9f93b66f694..a7f60006c52ca 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;