From: Jens Axboe <axboe@kernel.dk>
To: YueHaibing <yuehaibing@huawei.com>, viro@zeniv.linux.org.uk
Cc: linux-kernel@vger.kernel.org, linux-block@vger.kernel.org,
linux-fsdevel@vger.kernel.org
Subject: Re: [PATCH -next] io_uring: remove set but not used variable 'ret'
Date: Sat, 25 May 2019 08:50:43 -0600 [thread overview]
Message-ID: <09f261fa-f981-3d2e-9d5c-5f576c3de192@kernel.dk> (raw)
In-Reply-To: <20190525122904.12792-1-yuehaibing@huawei.com>
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
prev parent reply other threads:[~2019-05-25 14:50 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-05-25 12:29 YueHaibing
2019-05-25 14:50 ` Jens Axboe [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=09f261fa-f981-3d2e-9d5c-5f576c3de192@kernel.dk \
--to=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=viro@zeniv.linux.org.uk \
--cc=yuehaibing@huawei.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®