Skip to content

Commit

Permalink
uml: remove unneeded if from hostfs
Browse files Browse the repository at this point in the history
Get rid of an empty if statement which might look like a bug to a
casual reader.

Signed-off-by: Jeff Dike <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
cfd-36 authored and Linus Torvalds committed Oct 16, 2007
1 parent 1466abf commit baabd15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fs/hostfs/hostfs_user.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ int set_attr(const char *file, struct hostfs_iattr *attrs, int fd)
}
}

if(attrs->ia_valid & HOSTFS_ATTR_CTIME) ;
/* Note: ctime is not handled */
if(attrs->ia_valid & (HOSTFS_ATTR_ATIME | HOSTFS_ATTR_MTIME)){
err = stat_file(file, NULL, NULL, NULL, NULL, NULL, NULL,
&attrs->ia_atime, &attrs->ia_mtime, NULL,
Expand Down

0 comments on commit baabd15

Please sign in to comment.