io_uring: remove dead check in io_splice()
authorJens Axboe <axboe@kernel.dk>
Sun, 17 May 2020 20:21:38 +0000 (14:21 -0600)
committerJens Axboe <axboe@kernel.dk>
Sun, 17 May 2020 20:21:38 +0000 (14:21 -0600)
commit948a7749454b1712f1b2f2429f9493eb3e4a89b0
treec2cef26a387b158bac153e963aa7cc620ba140d5
parentbd2ab18a1d6267446eae1b47dd839050452bdf7f
io_uring: remove dead check in io_splice()

We checked for 'force_nonblock' higher up, so it's definitely false
at this point. Kill the check, it's a remnant of when we tried to do
inline splice without always punting to async context.

Fixes: 2fb3e82284fc ("io_uring: punt splice async because of inode mutex")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c