diff --git a/fs/vfs/main.cc b/fs/vfs/main.cc
index a1abda65a4afeb765d9647c0d2e4890d9b2f4162..09fce495400a95f17f716033e7f345ed0a28ca3a 100755
--- a/fs/vfs/main.cc
+++ b/fs/vfs/main.cc
@@ -427,9 +427,6 @@ int __fxstat(int ver, int fd, struct stat *st)
 	int error;
 
 	trace_vfs_fstat(fd, st);
-	error = ENOSYS;
-	if (ver != 1)
-		goto out_errno;
 
 	error = fget(fd, &fp);
 	if (error)