aboutsummaryrefslogtreecommitdiffstats
path: root/fs/udf
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-10 16:44:31 -0400
committerJan Kara <jack@suse.cz>2015-03-14 02:33:57 -0400
commitf4a45c99ae38d53ebb7f26ba3a05c7edab797ce7 (patch)
tree6f652a3e0f00316775e3d76ab386fdd5a6a2c836 /fs/udf
parent7e08da50cf706151f324349f9235ebd311226997 (diff)
udf: remove unused variable in udf_table_free_blocks()
Fix set but not used warning. Signed-off-by: Fabian Frederick <fabf@skynet.be> Signed-off-by: Jan Kara <jack@suse.cz>
Diffstat (limited to 'fs/udf')
-rw-r--r--fs/udf/balloc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c
index 1ba2baaf4367..02948f04da56 100644
--- a/fs/udf/balloc.c
+++ b/fs/udf/balloc.c
@@ -358,7 +358,6 @@ static void udf_table_free_blocks(struct super_block *sb,
358 struct kernel_lb_addr eloc; 358 struct kernel_lb_addr eloc;
359 struct extent_position oepos, epos; 359 struct extent_position oepos, epos;
360 int8_t etype; 360 int8_t etype;
361 int i;
362 struct udf_inode_info *iinfo; 361 struct udf_inode_info *iinfo;
363 362
364 mutex_lock(&sbi->s_alloc_mutex); 363 mutex_lock(&sbi->s_alloc_mutex);
@@ -425,7 +424,6 @@ static void udf_table_free_blocks(struct super_block *sb,
425 } 424 }
426 425
427 if (epos.bh != oepos.bh) { 426 if (epos.bh != oepos.bh) {
428 i = -1;
429 oepos.block = epos.block; 427 oepos.block = epos.block;
430 brelse(oepos.bh); 428 brelse(oepos.bh);
431 get_bh(epos.bh); 429 get_bh(epos.bh);