summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorMiquel Raynal <miquel.raynal@bootlin.com>2020-10-01 13:20:14 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2020-12-11 00:37:31 +0300
commita8c1dc9dc6fe081492e125cc92fc402d91f17efc (patch)
tree8ee338a1883f34e610ecfad8bf4c1e5a1f1c0873 /drivers/mtd
parent868cbe2a6dcee451bd8f87cbbb2a73cf463b57e5 (diff)
downloadlinux-a8c1dc9dc6fe081492e125cc92fc402d91f17efc.tar.xz
mtd: spinand: Remove outdated comment
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
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/spi/core.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mtd/nand/spi/core.c b/drivers/mtd/nand/spi/core.c
index bec8c2a57f24..8ea545bb924d 100644
--- a/drivers/mtd/nand/spi/core.c
+++ b/drivers/mtd/nand/spi/core.c
@@ -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;