From: Fabian Frederick Date: Fri, 6 Jan 2017 20:53:53 +0000 (+0100) Subject: udf: remove empty condition X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d50c4dd5279b6a2b3ae2c66435ec5c9825b7cff3;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git udf: remove empty condition loc & 0x02 is empty since first git version in 2005 in udf_add_extendedattr() Signed-off-by: Fabian Frederick Signed-off-by: Jan Kara --- diff --git a/fs/udf/misc.c b/fs/udf/misc.c index 71d1c25f360d..3949c4bec3a3 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; }