lkml.org 
[lkml]   [2023]   [May]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] w1: ds2438: remove redundant initialization of variable crc
Date

On Sun, 22 May 2022 20:46:22 +0100, Colin Ian King wrote:
> Variable crc is being initialized with a value that is never read,
> it is being re-assigned later on. The initialization is redundant
> and can be removed.
>
> Cleans up clang scan build warning:
> warning: Value stored to 'crc' is never read [deadcode.DeadStores]
>
> [...]

Applied, thanks!

[1/1] w1: ds2438: remove redundant initialization of variable crc
https://git.kernel.org/krzk/linux-w1/c/ee896c5bf21cbac3bed8f958507a449168e965d3

Best regards,
--
Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

\
 
 \ /
  Last update: 2023-05-08 11:01    [W:0.062 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site