[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20240226104322.489020-1-miquel.raynal@bootlin.com>
Date: Mon, 26 Feb 2024 11:43:22 +0100
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Colin Ian King <colin.i.king@...il.com>,
Miquel Raynal <miquel.raynal@...tlin.com>,
Richard Weinberger <richard@....at>,
Vignesh Raghavendra <vigneshr@...com>,
linux-mtd@...ts.infradead.org
Cc: kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] mtd: chips: remove redundant assignment to variable timeo
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@...il.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
Powered by blists - more mailing lists