io_uring: return void from io_put_kbuf_comp()
authorMing Lei <ming.lei@redhat.com>
Sun, 7 Apr 2024 13:27:59 +0000 (21:27 +0800)
committerJens Axboe <axboe@kernel.dk>
Mon, 15 Apr 2024 14:10:26 +0000 (08:10 -0600)
commitbbbef3e9d2a82754bd72a86ba1352cfc17bf31a7
tree6af946d4d61b04c5cae1993cf0778d7f1ea26ed2
parentc29006a2456bc9c2aea09e4a8958b4d9a7dfcb5a
io_uring: return void from io_put_kbuf_comp()

The only caller doesn't handle the return value of io_put_kbuf_comp(), so
change its return type into void.

Also follow Jens's suggestion to rename it as io_put_kbuf_drop().

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Link: https://lore.kernel.org/r/20240407132759.4056167-1-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c
io_uring/kbuf.h