Re: [PATCH][next] mtd: chips: remove redundant assignment to variable timeo

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

 



On Thu, 2024-02-15 at 14:01:06 UTC, Colin Ian King wrote:
> In two functions the variable timeo is being initialized with a value
> that is never read, it is being re-assigned later on. The initializations
> are redundant and can be removed.
> 
> Cleans up clang scan build warning:
> warning: Value stored to 'timeo' during its initialization is never
> read [deadcode.DeadStores]
> 
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.

Miquel




[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