aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYue Haibing <[email protected]>2023-08-08 23:10:58 +0800
committerJens Axboe <[email protected]>2023-08-09 10:46:46 -0600
commitd4b30eed51d79361c290dc25a1386f5611f4982a (patch)
treed5685d3438508c7920da58570d1b25429f12b00f
parentb97f96e22f051d59d07a527dbd7d90408b661ca8 (diff)
io_uring/rsrc: Remove unused declaration io_rsrc_put_tw()
Commit 36b9818a5a84 ("io_uring/rsrc: don't offload node free") removed the implementation but leave declaration. Signed-off-by: Yue Haibing <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
-rw-r--r--io_uring/rsrc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/io_uring/rsrc.h b/io_uring/rsrc.h
index 0a8a95e9b99e..8afa9ec66a55 100644
--- a/io_uring/rsrc.h
+++ b/io_uring/rsrc.h
@@ -57,7 +57,6 @@ struct io_mapped_ubuf {
struct bio_vec bvec[];
};
-void io_rsrc_put_tw(struct callback_head *cb);
void io_rsrc_node_ref_zero(struct io_rsrc_node *node);
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);