From: Lee Jones <lee@kernel.org>
To: Lee Jones <lee@kernel.org>, Colin Ian King <colin.i.king@gmail.com>
Cc: kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: (subset) [PATCH][next] mfd: timberdale: remove redundant assignment to variable err
Date: Thu, 02 May 2024 17:19:59 +0100 [thread overview]
Message-ID: <171466679912.1192680.16107294908184867521.b4-ty@kernel.org> (raw)
In-Reply-To: <20240415102632.484411-1-colin.i.king@gmail.com>
On Mon, 15 Apr 2024 11:26:32 +0100, Colin Ian King wrote:
> The variable err is being assigned -ENODEV and then err is being
> re-assigned the same error value via the error exit label err_mfd.
> The assignment is redundant and can be removed.
>
> Cleans up clang scan build warning:
> drivers/mfd/timberdale.c:768:3: warning: Value stored to 'err' is
> never read [deadcode.DeadStores]
>
> [...]
Applied, thanks!
[1/1] mfd: timberdale: remove redundant assignment to variable err
commit: 3f2706adbc2b8b6aaf313cc66271642d901d90e0
--
Lee Jones [李琼斯]
prev parent reply other threads:[~2024-05-02 16:20 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-15 10:26 Colin Ian King
2024-05-02 16:19 ` Lee Jones [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=171466679912.1192680.16107294908184867521.b4-ty@kernel.org \
--to=lee@kernel.org \
--cc=colin.i.king@gmail.com \
--cc=kernel-janitors@vger.kernel.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®