Re: [PATCH -next] io_uring: remove set but not used variable 'ret'
From: Jens Axboe <axboe@kernel.dk>
Date: 2019-05-25 14:50:50
Also in:
linux-fsdevel, lkml
From: Jens Axboe <axboe@kernel.dk>
Date: 2019-05-25 14:50:50
Also in:
linux-fsdevel, lkml
On 5/25/19 6:29 AM, YueHaibing wrote:
Fixes gcc '-Wunused-but-set-variable' warning:
fs/io_uring.c: In function io_ring_submit:
fs/io_uring.c:2279:7: warning: variable ret set but not used [-Wunused-but-set-variable]
It's not used since commit f3fafe4103bd ("io_uring: add support for sqe links")Some of the submission logic in that commit needs to be reworked, so I'm not going to fold this patch in. -- Jens Axboe