Skip to content

Commit

Permalink
udf: remove empty condition
Browse files Browse the repository at this point in the history
loc & 0x02 is empty since first git version in 2005 in
udf_add_extendedattr()

Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jan Kara <jack@suse.cz>
  • Loading branch information
Fabian Frederick authored and Jan Kara committed Jan 10, 2017
1 parent bbc9abd commit d50c4dd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions fs/udf/misc.c
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit d50c4dd

Please sign in to comment.