Mercurial > yaffs-ecoscentric-gpl
changeset 103:a3aac8938f90
Back out mistaken checkin
| author | charles <charles> |
|---|---|
| date | Wed, 07 Dec 2005 22:00:38 +0000 |
| parents | c62ef0c1e49d |
| children | 8d952dff2dff |
| files | yaffs_mtdif2.c |
| diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/yaffs_mtdif2.c +++ b/yaffs_mtdif2.c @@ -16,7 +16,7 @@ /* mtd interface for YAFFS2 */ const char *yaffs_mtdif2_c_version = - "$Id: yaffs_mtdif2.c,v 1.9 2005-12-07 21:49:18 charles Exp $"; + "$Id: yaffs_mtdif2.c,v 1.10 2005-12-07 22:00:38 charles Exp $"; #include "yportenv.h" @@ -93,8 +93,7 @@ int nandmtd2_ReadChunkWithTagsFromNAND(y ("nandmtd2_ReadChunkWithTagsToNAND chunk %d data %p tags %p" TENDSTR), chunkInNAND, data, tags)); - if (1 || /* Always do this */ - data && tags) { + if (data && tags) { if (dev->useNANDECC) { retval = mtd->read_ecc(mtd, addr, dev->nBytesPerChunk,
