Re: [PATCH 1/5 linux-next] udf: remove unused variable in udf_table_free_blocks()
From: Jan Kara
Date: Sat Mar 14 2015 - 02:34:52 EST
On Tue 10-03-15 21:44:31, Fabian Frederick wrote:
> Fix set but not used warning.
>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
Thanks. I've added the patch to my tree.
Honza
> ---
> fs/udf/balloc.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/fs/udf/balloc.c b/fs/udf/balloc.c
> index 1ba2baa..02948f0 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);
> --
> 1.9.1
>
--
Jan Kara <jack@xxxxxxx>
SUSE Labs, CR
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/