summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-08-27 04:55:29 +0200
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-25 00:44:52 +0200
commit344955fb9cab0ec051f27e846008362b8ce42d36 (patch)
tree6c34b68bd8154f64030a27b58e93c4d4498c1de7 /drivers/mtd/onenand
parentmtd: nand: Samsung MLC - new OOB sizes (diff)
downloadlinux-344955fb9cab0ec051f27e846008362b8ce42d36.tar.xz
linux-344955fb9cab0ec051f27e846008362b8ce42d36.zip
mtd: OneNAND: Remove unused cmd_map at s5pc110
S5PC110 OneNAND controller use the generic functions provided from onenand_base. Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/onenand')
-rw-r--r--drivers/mtd/onenand/samsung.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/onenand/samsung.c b/drivers/mtd/onenand/samsung.c
index a460f1b748c2..7913a921b08b 100644
--- a/drivers/mtd/onenand/samsung.c
+++ b/drivers/mtd/onenand/samsung.c
@@ -759,7 +759,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;