summaryrefslogtreecommitdiffstats
path: root/drivers/md
diff options
context:
space:
mode:
authorShenghui Wang <shhuiw@foxmail.com>2018-10-08 20:41:16 +0800
committerJens Axboe <axboe@kernel.dk>2018-10-08 08:19:52 -0600
commit3fd3c5c02b2865e506bee1212c8423eac0d4cddf (patch)
tree1dd0a133d1a30e9e5848dc3736f91f79139ababd /drivers/md
parent46010141da6677b81cc77f9b47f8ac62bd1cbfd3 (diff)
downloadlinux-stable-3fd3c5c02b2865e506bee1212c8423eac0d4cddf.tar.gz
linux-stable-3fd3c5c02b2865e506bee1212c8423eac0d4cddf.tar.bz2
linux-stable-3fd3c5c02b2865e506bee1212c8423eac0d4cddf.zip
bcache: remove unused bch_passthrough_cache
struct kmem_cache *bch_passthrough_cache is not used in bcache code. Remove it. Signed-off-by: Shenghui Wang <shhuiw@foxmail.com> Signed-off-by: Coly Li <colyli@suse.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md')
-rw-r--r--drivers/md/bcache/request.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/bcache/request.h b/drivers/md/bcache/request.h
index aa055cfeb099..721bf336ed1a 100644
--- a/drivers/md/bcache/request.h
+++ b/drivers/md/bcache/request.h
@@ -39,6 +39,6 @@ void bch_data_insert(struct closure *cl);
void bch_cached_dev_request_init(struct cached_dev *dc);
void bch_flash_dev_request_init(struct bcache_device *d);
-extern struct kmem_cache *bch_search_cache, *bch_passthrough_cache;
+extern struct kmem_cache *bch_search_cache;
#endif /* _BCACHE_REQUEST_H_ */