summaryrefslogtreecommitdiffstats
path: root/drivers/mtd/onenand/samsung.c
diff options
context:
space:
mode:
authorKyungmin Park <kyungmin.park@samsung.com>2010-08-27 11:55:29 +0900
committerDavid Woodhouse <David.Woodhouse@intel.com>2010-10-24 23:44:52 +0100
commit344955fb9cab0ec051f27e846008362b8ce42d36 (patch)
tree6c34b68bd8154f64030a27b58e93c4d4498c1de7 /drivers/mtd/onenand/samsung.c
parent34c5bf6cc78e56537e0d508f5979f27ea8a64e31 (diff)
downloadlinux-stable-344955fb9cab0ec051f27e846008362b8ce42d36.tar.gz
linux-stable-344955fb9cab0ec051f27e846008362b8ce42d36.tar.bz2
linux-stable-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/samsung.c')
-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;