From: Jens Axboe <axboe@kernel.dk>
To: Colin Ian King <colin.i.king@gmail.com>,
Christoph Hellwig <hch@lst.de>,
Andrew Morton <akpm@linux-foundation.org>
Cc: kernel-janitors@vger.kernel.org,
Kalle Valo <kvalo@codeaurora.org>,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] relay: remove redundant assignment to pointer buf
Date: Sun, 8 May 2022 17:39:41 -0600 [thread overview]
Message-ID: <1e4264e6-55ed-7681-0aff-ce1dd9d6fd9a@kernel.dk> (raw)
In-Reply-To: <20220508212152.58753-1-colin.i.king@gmail.com>
On 5/8/22 3:21 PM, Colin Ian King wrote:
> Pointer buf is being assigned a value that is not being read, buf
> is being re-assigned in the next starement. The assignment is
> redundant and can be removed.
>
> Cleans up clang scan build warning:
> kernel/relay.c:443:8: warning: Although the value stored to 'buf' is
> used in the enclosing expression, the value is never actually read
> from 'buf' [deadcode.DeadStores]
Andrew, I'm assuming you'll pick this up?
Reviewed-by: Jens Axboe <axboe@kernel.dk>
--
Jens Axboe
prev parent reply other threads:[~2022-05-08 23:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-08 21:21 Colin Ian King
2022-05-08 23:39 ` 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=1e4264e6-55ed-7681-0aff-ce1dd9d6fd9a@kernel.dk \
--to=axboe@kernel.dk \
--cc=akpm@linux-foundation.org \
--cc=colin.i.king@gmail.com \
--cc=hch@lst.de \
--cc=kernel-janitors@vger.kernel.org \
--cc=kvalo@codeaurora.org \
--cc=linux-kernel@vger.kernel.org \
/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®