]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
mm: swap: remove stale comment of swap_reclaim_full_clusters()
authorKemeng Shi <shikemeng@huaweicloud.com>
Sat, 22 Feb 2025 16:08:50 +0000 (00:08 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 28 Feb 2025 01:00:29 +0000 (17:00 -0800)
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 <shikemeng@huaweicloud.com>
Cc: Kairui Song <ryncsn@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/swapfile.c

index dc9f93b66f694b13995c4ef6896bad92abcf93cc..a7f60006c52ca9355c037b8733deae4c6e769967 100644 (file)
@@ -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;