summaryrefslogtreecommitdiff
path: root/io_uring/msg_ring.h
diff options
context:
space:
mode:
authorGabriel Krisman Bertazi <krisman@suse.de>2024-12-16 15:46:15 -0500
committerJens Axboe <axboe@kernel.dk>2024-12-27 10:08:21 -0700
commitce9464081d5168ee0f279d6932ba82260a5b97c4 (patch)
treed5988a8430f60a11d4bc79116a95f92f0c2f4877 /io_uring/msg_ring.h
parentef623a647f423c0d96aa75797cec182e3c5ba47d (diff)
downloadlinux-next-ce9464081d5168ee0f279d6932ba82260a5b97c4.tar.gz
linux-next-ce9464081d5168ee0f279d6932ba82260a5b97c4.zip
io_uring/msg_ring: Drop custom destructor
kfree can handle slab objects nowadays. Drop the extra callback and just use kfree. Signed-off-by: Gabriel Krisman Bertazi <krisman@suse.de> Link: https://lore.kernel.org/r/20241216204615.759089-10-krisman@suse.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/msg_ring.h')
-rw-r--r--io_uring/msg_ring.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/msg_ring.h b/io_uring/msg_ring.h
index 38e7f8f0c944..32236d2fb778 100644
--- a/io_uring/msg_ring.h
+++ b/io_uring/msg_ring.h
@@ -4,4 +4,3 @@ int io_uring_sync_msg_ring(struct io_uring_sqe *sqe);
int io_msg_ring_prep(struct io_kiocb *req, const struct io_uring_sqe *sqe);
int io_msg_ring(struct io_kiocb *req, unsigned int issue_flags);
void io_msg_ring_cleanup(struct io_kiocb *req);
-void io_msg_cache_free(const void *entry);