diff --git a/fs/io_uring.c b/fs/io_uring.c index af93f790a1da..8543f1c37e2b 100644 --- a/fs/io_uring.c +++ b/fs/io_uring.c @@ -6092,8 +6092,8 @@ static void io_clean_op(struct io_kiocb *req) case IORING_OP_WRITE_FIXED: case IORING_OP_WRITE: { struct io_async_rw *io = req->async_data; - if (io->free_iovec) - kfree(io->free_iovec); + + kfree(io->free_iovec); break; } case IORING_OP_RECVMSG: