diff mbox series

[6/6] mm: swap: remove stale comment of swap_reclaim_full_clusters()

Message ID 20250222160850.505274-7-shikemeng@huaweicloud.com (mailing list archive)
State New
Headers show
Series Some random fixes and cleanups to mm/swapfile.c | expand

Commit Message

Kemeng Shi Feb. 22, 2025, 4:08 p.m. UTC
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.

Signed-off-by: Kemeng Shi <shikemeng@huaweicloud.com>
---
 mm/swapfile.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/mm/swapfile.c b/mm/swapfile.c
index 6ff57ed23e27..dc0dc5a26a88 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;