On 2018/10/24 下午11:49, Chao Yu wrote: > From: Chao Yu <yuchao0@xxxxxxxxxx> > > Pointer bch_passthrough_cache is never used, kill it for cleanup. > > Signed-off-by: Chao Yu <yuchao0@xxxxxxxxxx> Hi Chao, Copied. I will take it if no similar patch posted previously. Thanks. Coly Li > --- > drivers/md/bcache/request.h | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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_ */ >