diff mbox

[05/12,linux-next] udf: remove empty condition

Message ID 1483736037-25111-6-git-send-email-fabf@skynet.be (mailing list archive)
State New, archived
Headers show

Commit Message

Fabian Frederick Jan. 6, 2017, 8:53 p.m. UTC
loc & 0x02 is empty since first git version in 2005 in
udf_add_extendedattr()

Signed-off-by: Fabian Frederick <fabf@skynet.be>
---
 fs/udf/misc.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Jan Kara Jan. 10, 2017, 10:37 a.m. UTC | #1
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@skynet.be>

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
> 
>
diff mbox

Patch

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;
 }