[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <171466679912.1192680.16107294908184867521.b4-ty@kernel.org>
Date: Thu, 02 May 2024 17:19:59 +0100
From: Lee Jones <lee@...nel.org>
To: Lee Jones <lee@...nel.org>, Colin Ian King <colin.i.king@...il.com>
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: (subset) [PATCH][next] mfd: timberdale: remove redundant
assignment to variable err
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 [李琼斯]
Powered by blists - more mailing lists