|
@@ -219,18 +219,11 @@ static void yaffs_handle_chunk_wr_ok(struct yaffs_dev *dev, int nand_chunk,
|
|
|
const u8 *data,
|
|
|
const struct yaffs_ext_tags *tags)
|
|
|
{
|
|
|
- dev = dev;
|
|
|
- nand_chunk = nand_chunk;
|
|
|
- data = data;
|
|
|
- tags = tags;
|
|
|
}
|
|
|
|
|
|
static void yaffs_handle_chunk_update(struct yaffs_dev *dev, int nand_chunk,
|
|
|
const struct yaffs_ext_tags *tags)
|
|
|
{
|
|
|
- dev = dev;
|
|
|
- nand_chunk = nand_chunk;
|
|
|
- tags = tags;
|
|
|
}
|
|
|
|
|
|
void yaffs_handle_chunk_error(struct yaffs_dev *dev,
|
|
@@ -814,8 +807,6 @@ struct yaffs_tnode *yaffs_find_tnode_0(struct yaffs_dev *dev,
|
|
|
int required_depth;
|
|
|
int level = file_struct->top_level;
|
|
|
|
|
|
- dev = dev;
|
|
|
-
|
|
|
/* Check sane level and chunk Id */
|
|
|
if (level < 0 || level > YAFFS_TNODES_MAX_LEVEL)
|
|
|
return NULL;
|
|
@@ -3214,7 +3205,6 @@ static void yaffs_load_name_from_oh(struct yaffs_dev *dev, YCHAR *name,
|
|
|
}
|
|
|
} else {
|
|
|
#else
|
|
|
- dev = dev;
|
|
|
{
|
|
|
#endif
|
|
|
yaffs_strncpy(name, oh_name, buff_size - 1);
|
|
@@ -3258,7 +3248,6 @@ static void yaffs_load_oh_from_name(struct yaffs_dev *dev, YCHAR *oh_name,
|
|
|
}
|
|
|
} else {
|
|
|
#else
|
|
|
- dev = dev;
|
|
|
{
|
|
|
#endif
|
|
|
yaffs_strncpy(oh_name, name, YAFFS_MAX_NAME_LENGTH - 1);
|