mtd: OneNAND: Remove unused cmd_map at s5pc110
authorKyungmin Park <kyungmin.park@samsung.com>
Fri, 27 Aug 2010 02:55:29 +0000 (11:55 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sun, 24 Oct 2010 22:44:52 +0000 (23:44 +0100)
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>
drivers/mtd/onenand/samsung.c

index a460f1b748c20fbcb29982925820b79e6a7bbd78..7913a921b08b80f475b08253af72481022c5c4e6 100644 (file)
@@ -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;