projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7364a2
)
mtd: gpmi: remove the unused line
author
Huang Shijie
<b32955@freescale.com>
Thu, 14 Nov 2013 06:25:46 +0000
(14:25 +0800)
committer
Brian Norris
<computersforpeace@gmail.com>
Fri, 3 Jan 2014 19:22:18 +0000
(11:22 -0800)
We do not use the chip->oob_poi in the mx23_write_transcription_stamp.
So remove the unused line.
Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c
index
9bce04b
..
1faf198
100644
(file)
--- a/
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
+++ b/
drivers/mtd/nand/gpmi-nand/gpmi-nand.c
@@
-1439,7
+1439,6
@@
static int mx23_write_transcription_stamp(struct gpmi_nand_data *this)
/* Write the NCB fingerprint into the page buffer. */
memset(buffer, ~0, mtd->writesize);
- memset(chip->oob_poi, ~0, mtd->oobsize);
memcpy(buffer + 12, fingerprint, strlen(fingerprint));
/* Loop through the first search area, writing NCB fingerprints. */