mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 09:19:51 +00:00
mtd: gpmi: remove the unused line
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>
This commit is contained in:
parent
d7364a2710
commit
bd92029cdb
1 changed files with 0 additions and 1 deletions
|
@ -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. */
|
||||
|
|
Loading…
Reference in a new issue