mtd: onenand: remove redundant variable ooblen
authorColin Ian King <colin.i.king@gmail.com>
Sun, 5 Dec 2021 23:07:29 +0000 (23:07 +0000)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 9 Dec 2021 16:29:51 +0000 (17:29 +0100)
commitdf87a1efb8372bc119abb5757a458d688ae2d580
treec83a49efb48da1cbd029fa2b2e3a7dde492a72cd
parent33a0da68fb073360d36ce1a0e852f75fede7c21e
mtd: onenand: remove redundant variable ooblen

Variable ooblen is being initialized with a value that is never read.
The variable is never used after this, so it is redundant and can be
removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20211205230729.79337-1-colin.i.king@gmail.com
drivers/mtd/nand/onenand/onenand_bbt.c