mtd: rawnand: omap_elm: remove redundant variable 'errors'
authorColin Ian King <colin.i.king@gmail.com>
Tue, 21 Dec 2021 18:13:40 +0000 (18:13 +0000)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Sun, 23 Jan 2022 16:08:50 +0000 (17:08 +0100)
commit2212c19e51969213924ab538396b6c1e072c41f1
treea459b57172e6e9f660c00592f849f6802db547c6
parentac178a21754cf720b27e82965c2f11e71e9e5968
mtd: rawnand: omap_elm: remove redundant variable 'errors'

The variable 'errors' is being used to sum the number of errors
but it is never used afterwards. This can be considered a
redundant set of operations 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/20211221181340.524639-1-colin.i.king@gmail.com
drivers/mtd/nand/raw/omap_elm.c