io_uring: kbuf: kill __io_kbuf_recycle()
authorHao Xu <howeyxu@tencent.com>
Wed, 22 Jun 2022 05:55:51 +0000 (13:55 +0800)
committerJens Axboe <axboe@kernel.dk>
Thu, 21 Jul 2022 14:46:44 +0000 (08:46 -0600)
commit19c39fcab4159c69ed1624afd8eb52eb19815e9e
treeed9f855e6c7a945c13ed7d40ec94ae5ec30e2d9c
parent0b01a50034c5d9649ab83afaf61ebfe16d119786
io_uring: kbuf: kill __io_kbuf_recycle()

__io_kbuf_recycle() is only called in io_kbuf_recycle(). Kill it and
tweak the code so that the legacy pbuf and ring pbuf code become clear

Signed-off-by: Hao Xu <howeyxu@tencent.com>
Link: https://lore.kernel.org/r/20220622055551.642370-1-hao.xu@linux.dev
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/kbuf.c
io_uring/kbuf.h