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, 1 Feb 2021 17:02:42 +0000 (10:02 -0700)
commit02b23a9af5ba4db0a85ebb81c8b376b2fe860d0f
treed91318a64d3b0fca3dbd6571ec769ce2c6d86a52
parent85bcb6c67ea145b8032089db891218e3339cbdb8
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