* Re: [PATCH][next] mtd: nand: remove redundant variable 'oob_len'
[not found] <20180116125748.26042-1-colin.king@canonical.com>
@ 2018-01-19 7:41 ` Miquel Raynal
0 siblings, 0 replies; only message in thread
From: Miquel Raynal @ 2018-01-19 7:41 UTC (permalink / raw)
To: Colin King
Cc: Boris Brezillon, Richard Weinberger, David Woodhouse,
Brian Norris, Marek Vasut, Cyrille Pitchen, linux-mtd,
kernel-janitors
Hello,
On Tue, 16 Jan 2018 12:57:48 +0000
Colin King <colin.king@canonical.com> wrote:
> From: Colin Ian King <colin.king@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@canonical.com>
> ---
Same as before, can you change the prefix to:
mtd: nand: marvell:
Thank you,
Miquèl
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-01-19 7:41 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <20180116125748.26042-1-colin.king@canonical.com>
2018-01-19 7:41 ` [PATCH][next] mtd: nand: remove redundant variable 'oob_len' Miquel Raynal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox