Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH][next] mtd: rawnand: remove redundant assignment to variable bbtblocks | Date | Mon, 26 Feb 2024 11:45:04 +0100 |
| |
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@gmail.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
| |