projects
/
yaffs2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56f93d8
)
Throw out obsolete code
author
charles
<charles>
Thu, 13 Oct 2005 02:17:00 +0000
(
02:17
+0000)
committer
charles
<charles>
Thu, 13 Oct 2005 02:17:00 +0000
(
02:17
+0000)
yaffs_guts.c
patch
|
blob
|
history
diff --git
a/yaffs_guts.c
b/yaffs_guts.c
index 4783f85e92fbed109d200c401714735d83d26f80..8a07775aa92bb3201446abe9c18c82dbdadd5c9b 100644
(file)
--- a/
yaffs_guts.c
+++ b/
yaffs_guts.c
@@
-13,7
+13,7
@@
*/
const char *yaffs_guts_c_version =
*/
const char *yaffs_guts_c_version =
- "$Id: yaffs_guts.c,v 1.2
1 2005-10-09 07:55
:00 charles Exp $";
+ "$Id: yaffs_guts.c,v 1.2
2 2005-10-13 02:17
:00 charles Exp $";
#include "yportenv.h"
#include "yportenv.h"
@@
-2660,14
+2660,6
@@
void yaffs_DeleteChunk(yaffs_Device * dev, int chunkId, int markNAND, int lyn)
if (markNAND &&
bi->blockState != YAFFS_BLOCK_STATE_COLLECTING && !dev->isYaffs2) {
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;
yaffs_InitialiseTags(&tags);
tags.chunkDeleted = 1;