diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/yaffs2/yaffs_mtdif2.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/fs/yaffs2/yaffs_mtdif2.c b/fs/yaffs2/yaffs_mtdif2.c index bd8128c06f05..282a093d854d 100644 --- a/fs/yaffs2/yaffs_mtdif2.c +++ b/fs/yaffs2/yaffs_mtdif2.c @@ -52,8 +52,6 @@ int nandmtd2_WriteChunkWithTagsToNAND(yaffs_Device *dev, int chunkInNAND, ("nandmtd2_WriteChunkWithTagsToNAND chunk %d data %p tags %p" TENDSTR), chunkInNAND, data, tags)); - dev->nPageWrites++; - addr = ((loff_t) chunkInNAND) * dev->totalBytesPerChunk; /* For yaffs2 writing there must be both data and tags. @@ -116,8 +114,6 @@ int nandmtd2_ReadChunkWithTagsFromNAND(yaffs_Device *dev, int chunkInNAND, ("nandmtd2_ReadChunkWithTagsFromNAND chunk %d data %p tags %p" TENDSTR), chunkInNAND, data, tags)); - dev->nPageReads++; - if (dev->inbandTags) { if (!data) { |