From: Fabian Frederick Date: Tue, 10 Mar 2015 20:44:31 +0000 (+0100) Subject: udf: remove unused variable in udf_table_free_blocks() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=f4a45c99ae38d53ebb7f26ba3a05c7edab797ce7;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git udf: remove unused variable in udf_table_free_blocks() Fix set but not used warning. Signed-off-by: Fabian Frederick Signed-off-by: Jan Kara --- 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, 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);