yaffs_VerifyBlock(dev, bi, n);
/* After collection the block should be in the erased state */
- /* This will need to change if we do partial gc */
if (bi->blockState != YAFFS_BLOCK_STATE_COLLECTING &&
bi->blockState != YAFFS_BLOCK_STATE_EMPTY) {
return failed ? YAFFS_FAIL : YAFFS_OK;
#else
+ in=in;
return YAFFS_OK;
#endif
}