Skip to contentSkip to conversation

io_uring: remove notif leftovers

PATCH Applied Pavel Begunkov 2 participants 2 messages Oct 4, 2022 io_uring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 io_uring: remove notif leftovers

Notifications were killed but there is a couple of fields and struct declarations left, remove them.

---
 include/linux/io_uring_types.h | 5 -----
 io_uring/io_uring.c            | 1 -
 2 files changed, 6 deletions(-)
include/linux/io_uring_types.h +0 -5
index aa4d90a53866..f5b687a787a3 100644
@@ -34,9 +34,6 @@ struct io_file_table {
 	unsigned int alloc_hint;
 };
 
-struct io_notif;
-struct io_notif_slot;
-
 struct io_hash_bucket {
 	spinlock_t		lock;
 	struct hlist_head	list;
@@ -242,8 +239,6 @@ struct io_ring_ctx {
 		unsigned		nr_user_files;
 		unsigned		nr_user_bufs;
 		struct io_mapped_ubuf	**user_bufs;
-		struct io_notif_slot	*notif_slots;
-		unsigned		nr_notif_slots;
 
 		struct io_submit_state	submit_state;
 
io_uring/io_uring.c +0 -1
index 73b841d4cfd0..5e7c086685bf 100644
@@ -2625,7 +2625,6 @@ static __cold void io_ring_ctx_free(struct io_ring_ctx *ctx)
 	}
 #endif
 	WARN_ON_ONCE(!list_empty(&ctx->ltimeout_list));
-	WARN_ON_ONCE(ctx->notif_slots || ctx->nr_notif_slots);
 
 	if (ctx->mm_account) {
 		mmdrop(ctx->mm_account);
Signature · 1 line
2.37.3
maintainer Applied
#1 lore raw
Quoted 4 lines · Pavel Begunkov

Notifications were killed but there is a couple of fields and struct declarations left, remove them.

Applied, thanks!

[1/1] io_uring: remove notif leftovers

      commit: 50dedbd905c7e6e40871ff5765622eed6109788c

Best regards,

Signature · 1 line
Jens Axboe