io_uring: remove __io_state_file_put
authorPavel Begunkov <asml.silence@gmail.com>
Tue, 19 Jan 2021 13:32:41 +0000 (13:32 +0000)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jan 2021 15:18:37 +0000 (08:18 -0700)
commit2f26b88a1e3f647bcc15d4a7ffb154e661bd0886
tree7d753e970dc7d0a2da4092da16e8128cf5cfa3de
parent4af5b0a53efa34d592055b81173bd836e366f303
io_uring: remove __io_state_file_put

The check in io_state_file_put() is optimised pretty well when called
from __io_file_get(). Don't pollute the code with all these variants.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c