From: Kyungmin Park Date: Fri, 27 Aug 2010 02:55:29 +0000 (+0900) Subject: mtd: OneNAND: Remove unused cmd_map at s5pc110 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=344955fb9cab0ec051f27e846008362b8ce42d36;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git mtd: OneNAND: Remove unused cmd_map at s5pc110 S5PC110 OneNAND controller use the generic functions provided from onenand_base. Signed-off-by: Kyungmin Park Signed-off-by: David Woodhouse --- 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;