yaffs: Remove unused variable
authorCharles Manning <cdhmanning@gmail.com>
Sun, 31 May 2015 00:11:09 +0000 (12:11 +1200)
committerCharles Manning <cdhmanning@gmail.com>
Sun, 31 May 2015 00:11:09 +0000 (12:11 +1200)
Signed-off-by: Charles Manning <cdhmanning@gmail.com>
yaffs_yaffs2.c

index 8c31a66..9fb7c94 100644 (file)
@@ -1351,7 +1351,6 @@ int yaffs2_scan_backwards(struct yaffs_dev *dev)
        int n_to_scan = 0;
        enum yaffs_block_state state;
        int c;
-       int deleted;
        LIST_HEAD(hard_list);
        struct yaffs_block_info *bi;
        u32 seq_number;
@@ -1469,7 +1468,6 @@ int yaffs2_scan_backwards(struct yaffs_dev *dev)
                /* get the block to scan in the correct order */
                blk = block_index[block_iter].block;
                bi = yaffs_get_block_info(dev, blk);
-               deleted = 0;
 
                summary_available = yaffs_summary_read(dev, dev->sum_tags, blk);