[PATCH][next] mtd: nand: remove redundant variable 'oob_len'

Miquel Raynal miquel.raynal at free-electrons.com
Thu Jan 18 23:41:18 PST 2018


Hello,

On Tue, 16 Jan 2018 12:57:48 +0000
Colin King <colin.king at canonical.com> wrote:

> From: Colin Ian King <colin.king at canonical.com>
> 
> Variable oob_len is assigned and never read, hence it is redundant and
> can be removed.
> 
> Cleans up clang warnings:
> 
> drivers/mtd/nand/marvell_nand.c:1356:6: warning: Value stored to
> 'oob_len' during its initialization is never read
> drivers/mtd/nand/marvell_nand.c:1369:4: warning: Value stored to
> 'oob_len' is never read
> 
> Signed-off-by: Colin Ian King <colin.king at canonical.com>
> ---

Same as before, can you change the prefix to:

mtd: nand: marvell:

Thank you,
Miquèl




More information about the linux-mtd mailing list