Skip to contentSkip to conversation

bcache: remove unused bch_mark_cache_readahead function def in stats.h

PATCH New Lin Feng 1 participant 1 message Jul 6, 2022 bcache (block layer cache)

lore
Share & tools
lore

Lin Feng

author
#0 lore raw

PATCH 1/1 bcache: remove unused bch_mark_cache_readahead function def in stats.h

This is a cleanup for
'Commit 1616a4c2ab1a ("bcache: remove bcache device self-defined readahead")', currently no user for bch_mark_cache_readahead() since that commit.

---
 drivers/md/bcache/stats.h | 1 -
 1 file changed, 1 deletion(-)
drivers/md/bcache/stats.h +0 -1
index ca4f435f7216..bd3afc856d53 100644
@@ -54,7 +54,6 @@ void bch_cache_accounting_destroy(struct cache_accounting *acc);
 
 void bch_mark_cache_accounting(struct cache_set *c, struct bcache_device *d,
 			       bool hit, bool bypass);
-void bch_mark_cache_readahead(struct cache_set *c, struct bcache_device *d);
 void bch_mark_cache_miss_collision(struct cache_set *c,
 				   struct bcache_device *d);
 void bch_mark_sectors_bypassed(struct cache_set *c,
Signature · 1 line
2.31.1