diff mbox series

[6/6] mtd: spinand: Remove outdated comment

Message ID 20201001102014.20100-7-miquel.raynal@bootlin.com
State Accepted
Headers show
Series Bringing generic ECC engine support to SPI-NAND | expand

Commit Message

Miquel Raynal Oct. 1, 2020, 10:20 a.m. UTC
This comment is no longer true so drop it.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
---
 drivers/mtd/nand/spi/core.c | 4 ----
 1 file changed, 4 deletions(-)

Comments

Miquel Raynal Oct. 30, 2020, 5:27 p.m. UTC | #1
On Thu, 2020-10-01 at 10:20:14 UTC, Miquel Raynal wrote:
> This comment is no longer true so drop it.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel
diff mbox series

Patch

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;