summaryrefslogtreecommitdiff
path: root/drivers/md
diff options
context:
space:
mode:
authorAndrea Tomassetti <andrea.tomassetti-opensource@devo.com>2023-06-15 15:12:20 +0300
committerJens Axboe <axboe@kernel.dk>2023-06-15 16:30:11 +0300
commitccb8c3bd6d93e7986b702d1f66d5d56d08abc59f (patch)
tree923151fc77f4c92d049d901d6464afb41437ffad /drivers/md
parentb98dd0b0a596fdeaca68396ce8f782883ed253a9 (diff)
downloadlinux-ccb8c3bd6d93e7986b702d1f66d5d56d08abc59f.tar.xz
bcache: Remove dead references to cache_readaheads
The cache_readaheads stat counter is not used anymore and should be removed. Signed-off-by: Andrea Tomassetti <andrea.tomassetti-opensource@devo.com> Signed-off-by: Coly Li <colyli@suse.de> Link: https://lore.kernel.org/r/20230615121223.22502-4-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 bd3afc856d53..21b445f8af15 100644
--- a/drivers/md/bcache/stats.h
+++ b/drivers/md/bcache/stats.h
@@ -18,7 +18,6 @@ struct cache_stats {
unsigned long cache_misses;
unsigned long cache_bypass_hits;
unsigned long cache_bypass_misses;
- unsigned long cache_readaheads;
unsigned long cache_miss_collisions;
unsigned long sectors_bypassed;