udf: remove unused variable in udf_table_free_blocks()
authorFabian Frederick <fabf@skynet.be>
Tue, 10 Mar 2015 20:44:31 +0000 (21:44 +0100)
committerJan Kara <jack@suse.cz>
Sat, 14 Mar 2015 06:33:57 +0000 (07:33 +0100)
Fix set but not used warning.

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
fs/udf/balloc.c

index 1ba2baaf43671889f2eb0339e92996a1bf41f7ca..02948f04da56ea26ad940ad0332fcbe7fa0f0eca 100644 (file)
@@ -358,7 +358,6 @@ static void udf_table_free_blocks(struct super_block *sb,
        struct kernel_lb_addr eloc;
        struct extent_position oepos, epos;
        int8_t etype;
-       int i;
        struct udf_inode_info *iinfo;
 
        mutex_lock(&sbi->s_alloc_mutex);
@@ -425,7 +424,6 @@ static void udf_table_free_blocks(struct super_block *sb,
                }
 
                if (epos.bh != oepos.bh) {
-                       i = -1;
                        oepos.block = epos.block;
                        brelse(oepos.bh);
                        get_bh(epos.bh);