io_uring: consolidate the put_ref-and-return section of adding work
authorJens Axboe <axboe@kernel.dk>
Fri, 17 Feb 2023 15:22:17 +0000 (08:22 -0700)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Feb 2023 16:57:23 +0000 (09:57 -0700)
commitce8e04f6e5d3b2d14cd00cc4c0b1cc8cbdcf4d12
tree1fb51a4de6edc9f15080815f5da5a61aff60df5e
parent5b7c4cabbb65f5c469464da6c5f614cbd7f730f2
io_uring: consolidate the put_ref-and-return section of adding work

We've got a few cases of this, move them to one section and just use
gotos to get there. Reduces the text section on both arm64 and x86-64,
using gcc-12.2.

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