From: "libaokun (A)" <libaokun1@huawei.com>
To: Jens Axboe <axboe@kernel.dk>, <davem@davemloft.net>,
<linux-ide@vger.kernel.org>, <linux-kernel@vger.kernel.org>
Cc: <weiyongjun1@huawei.com>, <yuehaibing@huawei.com>,
<yangjihong1@huawei.com>, <yukuai3@huawei.com>
Subject: Re: [PATCH -next] ide-cd: fix warning: variable 'stat' set but not used
Date: Wed, 16 Jun 2021 09:05:59 +0800 [thread overview]
Message-ID: <35686e99-51e8-48da-bae4-7fdf348b2345@huawei.com> (raw)
In-Reply-To: <bba1a668-227d-7dd4-59b3-6a90a169f4da@kernel.dk>
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.
>
prev parent reply other threads:[~2021-06-16 1:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-29 6:17 [PATCH -next] ide-cd: fix warning: variable 'stat' set but not used Baokun Li
2021-06-15 1:59 ` libaokun (A)
2021-06-15 21:45 ` Jens Axboe
2021-06-16 1:05 ` libaokun (A) [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=35686e99-51e8-48da-bae4-7fdf348b2345@huawei.com \
--to=libaokun1@huawei.com \
--cc=axboe@kernel.dk \
--cc=davem@davemloft.net \
--cc=linux-ide@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=weiyongjun1@huawei.com \
--cc=yangjihong1@huawei.com \
--cc=yuehaibing@huawei.com \
--cc=yukuai3@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).