summaryrefslogtreecommitdiff
path: root/io_uring
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2023-08-08 18:10:58 +0300
committerJens Axboe <axboe@kernel.dk>2023-08-09 19:46:46 +0300
commitd4b30eed51d79361c290dc25a1386f5611f4982a (patch)
treed5685d3438508c7920da58570d1b25429f12b00f /io_uring
parentb97f96e22f051d59d07a527dbd7d90408b661ca8 (diff)
downloadlinux-d4b30eed51d79361c290dc25a1386f5611f4982a.tar.xz
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 <yuehaibing@huawei.com> Link: https://lore.kernel.org/r/20230808151058.4572-1-yuehaibing@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring')
-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);