From: Denis Efremov <efremov@linux.com>
To: Yufeng Wang <wangyufeng@kylinos.cn>, Jens Axboe <axboe@kernel.dk>,
linux-block@vger.kernel.org, linux-kernel@vger.kernel.org
Cc: inux-kernel@vger.kernel.org, stable@vger.kernel.org
Subject: Re: [PATCH] floppy: remove duplicated code, unlock_fdc() function has the same code "do_floppy = NULL" inside.
Date: Mon, 18 Mar 2024 12:26:05 +0400 [thread overview]
Message-ID: <f1be501c-51fa-4a0b-a11f-893b185571c5@linux.com> (raw)
In-Reply-To: <20240318060453.18538-1-wangyufeng@kylinos.cn>
Hello,
On 3/18/24 10:04, Yufeng Wang wrote:
> Cc: stable@vger.kernel.org
> Signed-off-by: Yufeng Wang <wangyufeng@kylinos.cn>
> ---
> drivers/block/floppy.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/block/floppy.c b/drivers/block/floppy.c
> index 1b399ec8c07d..25c9d85667f1 100644
> --- a/drivers/block/floppy.c
> +++ b/drivers/block/floppy.c
> @@ -2787,7 +2787,6 @@ static void redo_fd_request(void)
> pending = set_next_request();
> spin_unlock_irq(&floppy_lock);
> if (!pending) {
> - do_floppy = NULL;
> unlock_fdc();
> return;
> }
I'll answer to the 2nd email.
Thanks,
Denis
next prev parent reply other threads:[~2024-03-18 8:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-18 6:04 Yufeng Wang
2024-03-18 8:26 ` Denis Efremov [this message]
2024-03-18 6:07 Yufeng Wang
2024-03-18 8:34 ` Denis Efremov
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=f1be501c-51fa-4a0b-a11f-893b185571c5@linux.com \
--to=efremov@linux.com \
--cc=axboe@kernel.dk \
--cc=inux-kernel@vger.kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=wangyufeng@kylinos.cn \
/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
Powered by JetHome