Skip to content

Commit

Permalink
mtd: OneNAND: Remove unused cmd_map at s5pc110
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Kyungmin Park authored and David Woodhouse committed Oct 24, 2010
1 parent 34c5bf6 commit 344955f
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/mtd/onenand/samsung.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 344955f

Please sign in to comment.