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>
Tue, 29 Oct 2024 19:43:28 +0000 (13:43 -0600)
commite410ffca588691e36d5449a5bf521a1a7b712911
treeb100eb83e066ea357f1022b4238f1695a60887ce
parent743fb58a35cde8fe27b07ee5a985ae76563845e3
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