Re: (subset) [PATCH][next] mfd: timberdale: remove redundant assignment to variable err

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [李琼斯]





[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux