mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
uml: remove unneeded if from hostfs
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]>
This commit is contained in:
parent
1466abf2d0
commit
baabd156e2
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue