Mercurial > yaffs-ecoscentric-gpl
changeset 93:05d7dee4c19b
Throw out obsolete code
| author | charles <charles> |
|---|---|
| date | Thu, 13 Oct 2005 02:17:00 +0000 |
| parents | 8dc22f80d193 |
| children | 5e9c63f92163 |
| files | yaffs_guts.c |
| diffstat | 1 files changed, 1 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/yaffs_guts.c +++ b/yaffs_guts.c @@ -13,7 +13,7 @@ */ const char *yaffs_guts_c_version = - "$Id: yaffs_guts.c,v 1.21 2005-10-09 07:55:00 charles Exp $"; + "$Id: yaffs_guts.c,v 1.22 2005-10-13 02:17:00 charles Exp $"; #include "yportenv.h" @@ -2660,14 +2660,6 @@ void yaffs_DeleteChunk(yaffs_Device * de if (markNAND && bi->blockState != YAFFS_BLOCK_STATE_COLLECTING && !dev->isYaffs2) { -#ifdef CONFIG_MTD_NAND_VERIFY_WRITE - - /* Read data before write, to ensure correct ecc - * if we're using MTD verification under Linux - */ - yaffs_ReadChunkFromNAND(dev, chunkId, NULL, &spare, 0); -#endif - yaffs_InitialiseTags(&tags); tags.chunkDeleted = 1;
