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>
Fri, 17 Feb 2023 16:06:12 +0000 (09:06 -0700)
commitd1f41fb46abe7167f9bbb4f383ec97ff73eaff90
tree33d48713b0542f2ea61ef5c0301b839b69389af4
parent7d3fd88d61a41016da01889f076fd1c60c7298fc
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