changeset 106:321e11fbbe29

Back out mistaken checkin
author charles
date Wed, 07 Dec 2005 22:00:38 +0000
parents 632bc43b7e31
children f5445121de97
files yaffs_mtdif2.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/yaffs_mtdif2.c
+++ b/yaffs_mtdif2.c
@@ -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,