summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorLin Feng <linf@wangsu.com>2022-09-20 00:16:44 +0800
committerJens Axboe <axboe@kernel.dk>2022-09-19 11:12:35 -0600
commitd86b4e6dc88826f2b5cfa90c4ebbccb19a88bc39 (patch)
treef5bd37a76e21a966649bd2aaedb2727acdc82013 /drivers/md
parent97d26ae764a43bfaf870312761a0a0f9b49b6351 (diff)
downloadlinux-d86b4e6dc88826f2b5cfa90c4ebbccb19a88bc39.tar.bz2
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. Signed-off-by: Lin Feng <linf@wangsu.com> Signed-off-by: Coly Li <colyli@suse.de> Link: https://lore.kernel.org/r/20220919161647.81238-3-colyli@suse.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/bcache/stats.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/md/bcache/stats.h b/drivers/md/bcache/stats.h
index ca4f435f7216..bd3afc856d53 100644
--- a/drivers/md/bcache/stats.h
+++ b/drivers/md/bcache/stats.h
@@ -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,