io_uring/rsrc: kill io_charge_rsrc_node()
authorJens Axboe <axboe@kernel.dk>
Mon, 28 Oct 2024 14:41:24 +0000 (08:41 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 28 Oct 2024 14:41:24 +0000 (08:41 -0600)
commitaee7544988751793e5fda8e047ac81ac732810a0
tree12b1d7726400c6d05f2a72a9cda0f72644737f3e
parentfd2c28e7072bf19fc5809b53a963aa25101e8497
io_uring/rsrc: kill io_charge_rsrc_node()

It's only used from __io_req_set_rsrc_node(), and it takes both the ctx
and node itself, while never using the ctx. Just open-code the basic
refs++ in __io_req_set_rsrc_node() instead.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.h