Skip to content

Commit 07f3c3a

Browse files
committed
io_uring/eventfd: remove unused ctx->evfd_last_cq_tail member
A previous commit got rid of any use of this member, but forgot to remove it. Kill it. Fixes: f4bb2f6 ("io_uring/eventfd: move ctx->evfd_last_cq_tail into io_ev_fd") Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 42b12cb commit 07f3c3a

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

include/linux/io_uring_types.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,9 @@ struct io_ring_ctx {
442442
struct list_head defer_list;
443443
unsigned nr_drained;
444444

445+
/* protected by ->completion_lock */
446+
unsigned nr_req_allocated;
447+
445448
#ifdef CONFIG_NET_RX_BUSY_POLL
446449
struct list_head napi_list; /* track busy poll napi_id */
447450
spinlock_t napi_lock; /* napi_list lock */
@@ -454,10 +457,6 @@ struct io_ring_ctx {
454457
DECLARE_HASHTABLE(napi_ht, 4);
455458
#endif
456459

457-
/* protected by ->completion_lock */
458-
unsigned evfd_last_cq_tail;
459-
unsigned nr_req_allocated;
460-
461460
/*
462461
* Protection for resize vs mmap races - both the mmap and resize
463462
* side will need to grab this lock, to prevent either side from

0 commit comments

Comments
 (0)