Re: [PATCH 05/12 linux-next] udf: remove empty condition
From: Jan Kara
Date: Tue Jan 10 2017 - 05:37:53 EST
On Fri 06-01-17 21:53:53, Fabian Frederick wrote:
> loc & 0x02 is empty since first git version in 2005 in
> udf_add_extendedattr()
>
> Signed-off-by: Fabian Frederick <fabf@xxxxxxxxx>
Thanks. Applied.
Honza
> ---
> fs/udf/misc.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/fs/udf/misc.c b/fs/udf/misc.c
> index 71d1c25..3949c4b 100644
> --- a/fs/udf/misc.c
> +++ b/fs/udf/misc.c
> @@ -141,8 +141,6 @@ struct genericFormat *udf_add_extendedattr(struct inode *inode, uint32_t size,
> iinfo->i_lenEAttr += size;
> return (struct genericFormat *)&ea[offset];
> }
> - if (loc & 0x02)
> - ;
>
> return NULL;
> }
> --
> 2.7.4
>
>
--
Jan Kara <jack@xxxxxxxx>
SUSE Labs, CR