diff --git a/ChangeLog b/ChangeLog
index 21636543c471f024ab2a090c923d13bb0d739b86..b3bca4819125859a71102af699299309abcee987 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -13,6 +13,7 @@ General
   write_file()
 	- Change open call flags, basically copy joe's way of doing it so
 	  a more recent version will actually be included in (un)stable.
+	- Remove useless fstat call.
 - nano.c:
   renumber()
 	- Dont stupidly assign the value of prev->lineno if prev == NULL!
diff --git a/files.c b/files.c
index ba8511b5048f417cc056782c495f3cf2ffdc3201..de0930ae565f3c7c5ee1d3823b54e3862dd33bbf 100644
--- a/files.c
+++ b/files.c
@@ -354,14 +354,6 @@ int write_file(char *name, int tmp)
 	    return -1;
 	}
 
-	/* Now we fstat() the file, to make sure it's the same file still!
-	   Thanks to Oliver Friedrichs(?) for this code from securityfocus */
-
-	if (fstat(fd, &st2) != 0) {
-	    close(fd);
-	    return -1;
-	}
-
     }
     /* Don't follow symlink.  Create new file. */
     else {