diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-04-18 14:06:38 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-18 19:38:26 -0600 |
commit | 4130b49991d6b8ca0ea44cb256e710c4e48d7f01 (patch) | |
tree | d39f8ce595e372a661ae6a109b898c2c8539f8d2 /io_uring/rsrc.h | |
parent | 26147da37f3e52041d9deba189d39f27ce78a84f (diff) |
io_uring/rsrc: inline io_rsrc_put_work()
io_rsrc_put_work() is simple enough to be open coded into its only
caller.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/1b36dd46766ced39a9b160767babfa2fce07b8f8.1681822823.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rsrc.h')
-rw-r--r-- | io_uring/rsrc.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/rsrc.h b/io_uring/rsrc.h index f3fe455c6c71..232079363f6a 100644 --- a/io_uring/rsrc.h +++ b/io_uring/rsrc.h @@ -58,7 +58,6 @@ struct io_mapped_ubuf { void io_rsrc_put_tw(struct callback_head *cb); void io_rsrc_node_ref_zero(struct io_rsrc_node *node); -void io_rsrc_put_work(struct work_struct *work); void io_rsrc_node_destroy(struct io_ring_ctx *ctx, struct io_rsrc_node *ref_node); struct io_rsrc_node *io_rsrc_node_alloc(struct io_ring_ctx *ctx); int io_queue_rsrc_removal(struct io_rsrc_data *data, unsigned idx, void *rsrc); |