From: Pavel Begunkov <[email protected]>
To: Olivier Langlois <[email protected]>,
Jens Axboe <[email protected]>,
[email protected]
Subject: Re: [PATCH] io_uring: remove unused local list heads in NAPI functions
Date: Tue, 30 Jul 2024 12:00:37 +0100 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <0a0ae3e955aed0f3e3d29882fb3d3cb575e0009b.1722294947.git.olivier@trillion01.com>
On 7/30/24 00:13, Olivier Langlois wrote:
> remove 2 unused local variables
Reviewed-by: Pavel Begunkov <[email protected]>
> Signed-off-by: Olivier Langlois <[email protected]>
> ---
> io_uring/napi.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/io_uring/napi.c b/io_uring/napi.c
> index 4fd6bb331e1e..a3dc3762008f 100644
> --- a/io_uring/napi.c
> +++ b/io_uring/napi.c
> @@ -205,7 +205,6 @@ void io_napi_init(struct io_ring_ctx *ctx)
> void io_napi_free(struct io_ring_ctx *ctx)
> {
> struct io_napi_entry *e;
> - LIST_HEAD(napi_list);
> unsigned int i;
>
> spin_lock(&ctx->napi_lock);
> @@ -315,7 +314,6 @@ void __io_napi_busy_loop(struct io_ring_ctx *ctx, struct io_wait_queue *iowq)
> */
> int io_napi_sqpoll_busy_poll(struct io_ring_ctx *ctx)
> {
> - LIST_HEAD(napi_list);
> bool is_stale = false;
>
> if (!READ_ONCE(ctx->napi_busy_poll_dt))
--
Pavel Begunkov
next prev parent reply other threads:[~2024-07-30 11:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-29 23:13 [PATCH] io_uring: remove unused local list heads in NAPI functions Olivier Langlois
2024-07-30 11:00 ` Pavel Begunkov [this message]
2024-07-30 12:20 ` Jens Axboe
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 \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/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