public inbox for [email protected]
 help / color / mirror / Atom feed
* [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

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