[PATCH] dm-pcache: remove unused miss_read_end_work_fn declaration
From: jianyungao89
Date: Sun Jul 26 2026 - 11:01:51 EST
From: Jianyun Gao <jianyungao89@xxxxxxxxx>
This function is declared but never defined or called anywhere.
The miss read completion is handled via miss_read_end_req callback
instead. Remove the orphan declaration.
Signed-off-by: Jianyun Gao <jianyungao89@xxxxxxxxx>
---
drivers/md/dm-pcache/cache.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/md/dm-pcache/cache.h b/drivers/md/dm-pcache/cache.h
index 27613b56be54..317bc8b11a81 100644
--- a/drivers/md/dm-pcache/cache.h
+++ b/drivers/md/dm-pcache/cache.h
@@ -340,7 +340,6 @@ void cache_seg_set_next_seg(struct pcache_cache_segment *cache_seg, u32 seg_id);
/* cache request*/
int pcache_cache_flush(struct pcache_cache *cache);
-void miss_read_end_work_fn(struct work_struct *work);
int pcache_cache_handle_req(struct pcache_cache *cache, struct pcache_request *pcache_req);
/* gc */
--
2.34.1