[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <09f261fa-f981-3d2e-9d5c-5f576c3de192@kernel.dk>
Date: Sat, 25 May 2019 08:50:43 -0600
From: Jens Axboe <axboe@...nel.dk>
To: YueHaibing <yuehaibing@...wei.com>, viro@...iv.linux.org.uk
Cc: linux-kernel@...r.kernel.org, linux-block@...r.kernel.org,
linux-fsdevel@...r.kernel.org
Subject: Re: [PATCH -next] io_uring: remove set but not used variable 'ret'
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
Powered by blists - more mailing lists