Re: [PATCH] bcache: kill unused bch_passthrough_cache global pointer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2018/10/25 11:07, Coly Li wrote:
> 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.

Hi Coly,

Oops, I just found there is similar patch in below link:

https://www.spinics.net/lists/linux-bcache/msg06441.html

Strangely, I didn't found above patch in linux-next repo when I made this
patch...

Anyway, please ignore this one.

Thanks,

> 
> 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_ */
>>
> 
> 
> 




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux