[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <d26a90e8-075e-52b4-e633-d68f231c14b4@huawei.com>
Date: Mon, 6 Apr 2020 14:39:27 +0800
From: "wanghai (M)" <wanghai38@...wei.com>
To: Coly Li <colyli@...e.de>, <kent.overstreet@...il.com>
CC: <linux-bcache@...r.kernel.org>, <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] bcache: remove set but not used variable 'i'
在 2020/4/6 12:43, Coly Li 写道:
> On 2020/4/7 7:36 下午, Wang Hai wrote:
>> Fixes gcc '-Wunused-but-set-variable' warning:
>>
>> drivers/md/bcache/btree.c: In function bch_btree_check_thread:
>> drivers/md/bcache/btree.c:1910:6: warning:
>> variable ‘i’ set but not used [-Wunused-but-set-variable]
>>
>> It's not used since commit 8e7102273f59 ("bcache: make bch_btree_check()
>> to be multithreaded"), so remove it.
>>
>> Reported-by: Hulk Robot <hulkci@...wei.com>
>> Signed-off-by: Wang Hai <wanghai38@...wei.com>
> Hi Hai,
>
> Colin King already submitted a similar patch on Apr 2 to fix it.
>
> Thanks.
>
> Coly Li
Thanks for reminding, please ignore this patch.
Powered by blists - more mailing lists