[PATCH 1/3] MTD: OneNAND: Remove unused cmd_map at s5pc110
Kyungmin Park
kmpark at infradead.org
Thu Aug 26 22:55:29 EDT 2010
From: Kyungmin Park <kyungmin.park at samsung.com>
S5PC110 OneNAND controller use the generic functions provided from onenand_base.
Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>
---
drivers/mtd/onenand/samsung.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c
index cb443af..05329ba 100644
--- a/drivers/mtd/onenand/samsung.c
+++ b/drivers/mtd/onenand/samsung.c
@@ -761,7 +761,6 @@ static void s3c_onenand_setup(struct mtd_info *mtd)
onenand->cmd_map = s5pc1xx_cmd_map;
} else if (onenand->type == TYPE_S5PC110) {
/* Use generic onenand functions */
- onenand->cmd_map = s5pc1xx_cmd_map;
this->read_bufferram = s5pc110_read_bufferram;
this->chip_probe = s5pc110_chip_probe;
return;
--
1.5.3.3
More information about the linux-mtd
mailing list