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 19:23:03 +0000 (13:23 -0600)
commit6423233e6e502979a0a0beb0edb6b4fb141c6143
tree278a32337b79295d0bcf69f13572fe9e319315a7
parentfdfcc3aa6b480fab52698144e4c65d7d34706956
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