From mboxrd@z Thu Jan 1 00:00:00 1970 From: Miquel Raynal Date: Fri, 19 Jan 2018 07:41:18 +0000 Subject: Re: [PATCH][next] mtd: nand: remove redundant variable 'oob_len' Message-Id: <20180119084118.3450d47f@xps13> List-Id: References: <20180116125748.26042-1-colin.king@canonical.com> In-Reply-To: <20180116125748.26042-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: Colin King Cc: Boris Brezillon , Richard Weinberger , David Woodhouse , Brian Norris , Marek Vasut , Cyrille Pitchen , linux-mtd@lists.infradead.org, kernel-janitors@vger.kernel.org Hello, On Tue, 16 Jan 2018 12:57:48 +0000 Colin King wrote: > From: Colin Ian King >=20 > Variable oob_len is assigned and never read, hence it is redundant and > can be removed. >=20 > Cleans up clang warnings: >=20 > 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 >=20 > Signed-off-by: Colin Ian King > --- Same as before, can you change the prefix to: mtd: nand: marvell: Thank you, Miqu=C3=A8l -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html