mtd: OneNAND: Remove unused cmd_map at s5pc110

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Sun Oct 24 20:59:04 EDT 2010


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=344955fb9cab0ec051f27e846008362b8ce42d36
Commit:     344955fb9cab0ec051f27e846008362b8ce42d36
Parent:     34c5bf6cc78e56537e0d508f5979f27ea8a64e31
Author:     Kyungmin Park <kyungmin.park at samsung.com>
AuthorDate: Fri Aug 27 11:55:29 2010 +0900
Committer:  David Woodhouse <David.Woodhouse at intel.com>
CommitDate: Sun Oct 24 23:44:52 2010 +0100

    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 at samsung.com>
    Signed-off-by: David Woodhouse <David.Woodhouse at intel.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 a460f1b..7913a92 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;



More information about the linux-mtd-cvs mailing list