From: Jens Axboe <axboe@kernel.dk>
To: linux-kernel@vger.kernel.org,
Colin Ian King <colin.i.king@gmail.com>,
linux-block@vger.kernel.org
Cc: kernel-janitors@vger.kernel.org, llvm@lists.linux.dev
Subject: Re: [PATCH] loop: remove redundant initialization of pointer node
Date: Thu, 13 Jan 2022 13:00:36 -0700 [thread overview]
Message-ID: <164210403642.172421.8237866191152253472.b4-ty@kernel.dk> (raw)
In-Reply-To: <20220113001432.1331871-1-colin.i.king@gmail.com>
On Thu, 13 Jan 2022 00:14:32 +0000, Colin Ian King wrote:
> The pointer node is being initialized with a value that is never
> read, it is being re-assigned the same value a little futher on.
> Remove the redundant initialization. Cleans up clang scan warning:
>
> drivers/block/loop.c:823:19: warning: Value stored to 'node' during
> its initialization is never read [deadcode.DeadStores]
>
> [...]
Applied, thanks!
[1/1] loop: remove redundant initialization of pointer node
commit: 413ec8057bc3d368574abd05dd27e747063b2f59
Best regards,
--
Jens Axboe
prev parent reply other threads:[~2022-01-13 20:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-13 0:14 Colin Ian King
2022-01-13 20:00 ` 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=164210403642.172421.8237866191152253472.b4-ty@kernel.dk \
--to=axboe@kernel.dk \
--cc=colin.i.king@gmail.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=linux-block@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/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®