[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <35686e99-51e8-48da-bae4-7fdf348b2345@huawei.com>
Date: Wed, 16 Jun 2021 09:05:59 +0800
From: "libaokun (A)" <libaokun1@...wei.com>
To: Jens Axboe <axboe@...nel.dk>, <davem@...emloft.net>,
<linux-ide@...r.kernel.org>, <linux-kernel@...r.kernel.org>
CC: <weiyongjun1@...wei.com>, <yuehaibing@...wei.com>,
<yangjihong1@...wei.com>, <yukuai3@...wei.com>
Subject: Re: [PATCH -next] ide-cd: fix warning: variable 'stat' set but not
used
Thank you for your reminder.
Best Regards.
在 2021/6/16 5:45, Jens Axboe 写道:
> On 5/29/21 12:17 AM, Baokun Li wrote:
>> Fixes gcc '-Wunused-but-set-variable' warning:
>>
>> drivers/ide/ide-cd_ioctl.c: In function 'ide_cdrom_select_speed':
>> drivers/ide/ide-cd_ioctl.c:212:6: warning:
>> variable ‘stat’ set but not used [-Wunused-but-set-variable]
>>
>> It never used since introduction.
> This code is being removed shortly, so better to just leave it alone.
>
Powered by blists - more mailing lists