uml: remove unneeded if from hostfs
Jeff Dike [Tue, 16 Oct 2007 08:27:13 +0000 (01:27 -0700)]
Get rid of an empty if statement which might look like a bug to a
casual reader.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

fs/hostfs/hostfs_user.c

index 5625e24..d8d54af 100644 (file)
@@ -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,