mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH -next] mm/swap: Remove unused declaration swapcache_clear()
@ 2026-08-27  8:27 Yue Haibing
  2026-08-27  8:24 ` Baoquan He
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: Yue Haibing @ 2026-08-27  8:27 UTC (permalink / raw)
  To: akpm, chrisl, kasong, shikemeng, nphamcs, baoquan.he, baohua,
	youngjun.park
  Cc: linux-mm, linux-kernel, yuehaibing

Commit c246d236b18b ("mm/shmem: never bypass the swap cache for
SWP_SYNCHRONOUS_IO") removed the implementations but leave this.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 mm/swap.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/mm/swap.h b/mm/swap.h
index d077e5893a42..29060a305443 100644
--- a/mm/swap.h
+++ b/mm/swap.h
@@ -344,7 +344,6 @@ void __swap_cache_replace_folio(struct swap_cluster_info *ci,
 				struct folio *old, struct folio *new);
 
 void show_swap_cache_info(void);
-void swapcache_clear(struct swap_info_struct *si, swp_entry_t entry, int nr);
 struct folio *read_swap_cache_async(struct swap_io_ctx *ctx, swp_entry_t entry,
 		gfp_t gfp_mask, struct vm_area_struct *vma, unsigned long addr);
 struct folio *swap_cluster_readahead(swp_entry_t entry, gfp_t flag,
-- 
2.34.1


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-08-28  2:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-27  8:27 [PATCH -next] mm/swap: Remove unused declaration swapcache_clear() Yue Haibing
2026-08-27  8:24 ` Baoquan He
2026-08-27  9:52 ` Kairui Song
2026-08-27 11:40 ` Nick Huang
2026-08-27 11:44 ` Barry Song
2026-08-28  2:07 ` SJ Park

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®