diff options
author | Olivier Langlois <olivier@trillion01.com> | 2024-07-29 19:13:35 -0400 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-07-30 06:20:20 -0600 |
commit | c3fca4fb83f7c84cd1e1aa9fe3a0e220ce8f30fb (patch) | |
tree | 2d92ed1ec597997af071f8e719cc8c7914fb3dc1 /io_uring/napi.c | |
parent | 2c762be5b798c443612c1bb9b011de4fdaebd1c5 (diff) | |
download | linux-c3fca4fb83f7c84cd1e1aa9fe3a0e220ce8f30fb.tar.gz linux-c3fca4fb83f7c84cd1e1aa9fe3a0e220ce8f30fb.tar.bz2 linux-c3fca4fb83f7c84cd1e1aa9fe3a0e220ce8f30fb.zip |
io_uring: remove unused local list heads in NAPI functions
These lists are unused, remove them.
Signed-off-by: Olivier Langlois <olivier@trillion01.com>
Reviewed-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/0a0ae3e955aed0f3e3d29882fb3d3cb575e0009b.1722294947.git.olivier@trillion01.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/napi.c')
-rw-r--r-- | io_uring/napi.c | 2 |
1 files changed, 0 insertions, 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)) |