[PATCH][next] mtd: rawnand: remove redundant assignment to variable bbtblocks
Miquel Raynal
miquel.raynal at bootlin.com
Mon Feb 26 02:45:04 PST 2024
On Fri, 2024-02-09 at 17:40:19 UTC, Colin Ian King wrote:
> The variable bbtblocks is being assigned a value that is never
> read. The assignment is redundant and can be removed.
>
> Cleans up clang scan build warning:
> drivers/mtd/nand/raw/nand_bbt.c:579:3: warning: Value stored to
> 'bbtblocks' is never read [deadcode.DeadStores]
>
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
More information about the linux-mtd
mailing list