* [PATCH] io_uring: remove unused local list heads in NAPI functions
@ 2024-07-29 23:13 Olivier Langlois
2024-07-30 11:00 ` Pavel Begunkov
2024-07-30 12:20 ` Jens Axboe
0 siblings, 2 replies; 3+ messages in thread
From: Olivier Langlois @ 2024-07-29 23:13 UTC (permalink / raw)
To: Jens Axboe, Pavel Begunkov, io-uring
remove 2 unused local variables
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))
--
2.45.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] io_uring: remove unused local list heads in NAPI functions
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
2024-07-30 12:20 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Pavel Begunkov @ 2024-07-30 11:00 UTC (permalink / raw)
To: Olivier Langlois, Jens Axboe, io-uring
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] io_uring: remove unused local list heads in NAPI functions
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
@ 2024-07-30 12:20 ` Jens Axboe
1 sibling, 0 replies; 3+ messages in thread
From: Jens Axboe @ 2024-07-30 12:20 UTC (permalink / raw)
To: Pavel Begunkov, io-uring, Olivier Langlois
On Mon, 29 Jul 2024 19:13:35 -0400, Olivier Langlois wrote:
> remove 2 unused local variables
>
>
Applied, thanks!
[1/1] io_uring: remove unused local list heads in NAPI functions
commit: c3fca4fb83f7c84cd1e1aa9fe3a0e220ce8f30fb
Best regards,
--
Jens Axboe
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-07-30 12:20 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2024-07-30 12:20 ` Jens Axboe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox