mtd: spinand: Remove outdated comment
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 1 Oct 2020 10:20:14 +0000 (12:20 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 10 Dec 2020 21:37:31 +0000 (22:37 +0100)
This comment is no longer true so drop it.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20201001102014.20100-7-miquel.raynal@bootlin.com
drivers/mtd/nand/spi/core.c

index bec8c2a..8ea545b 100644 (file)
@@ -1152,10 +1152,6 @@ static int spinand_init(struct spinand_device *spinand)
        if (ret)
                goto err_cleanup_nanddev;
 
-       /*
-        * Right now, we don't support ECC, so let the whole oob
-        * area available for the user.
-        */
        mtd->_read_oob = spinand_mtd_read;
        mtd->_write_oob = spinand_mtd_write;
        mtd->_block_isbad = spinand_mtd_block_isbad;