X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=yaffs_tagscompat.c;h=e3173cc2e23b1d237928a298ef221c7829535203;hp=402537fb4ee1387132075c4247161bda4ab0d438;hb=96aed5b90237cda3b8168a957be33c83ae192794;hpb=97f9eea27dc6b83fe55f9b86adbb5e4961ea921a diff --git a/yaffs_tagscompat.c b/yaffs_tagscompat.c index 402537f..e3173cc 100644 --- a/yaffs_tagscompat.c +++ b/yaffs_tagscompat.c @@ -170,7 +170,6 @@ static int yaffs_WriteChunkToNAND(struct yaffs_DeviceStruct *dev, return YAFFS_FAIL; } - dev->nPageWrites++; return dev->writeChunkToNAND(dev, chunkInNAND, data, spare); } @@ -184,8 +183,6 @@ static int yaffs_ReadChunkFromNAND(struct yaffs_DeviceStruct *dev, int retVal; yaffs_Spare localSpare; - dev->nPageReads++; - if (!spare && data) { /* If we don't have a real spare, then we use a local one. */ /* Need this for the calculation of the ecc */