From: Jeff Dike Date: Tue, 16 Oct 2007 08:27:13 +0000 (-0700) Subject: uml: remove unneeded if from hostfs X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=baabd156e243e513873417b62e51346ece609934;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/fs/hostfs/hostfs_user.c b/fs/hostfs/hostfs_user.c index 5625e2481dd3..d8d54af1b497 100644 --- a/fs/hostfs/hostfs_user.c +++ b/fs/hostfs/hostfs_user.c @@ -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,