gh-101810: Remove duplicated st_ino calculation (GH-101811)

This commit is contained in:
James Lee 2023-02-13 05:49:44 -08:00 committed by GitHub
parent 2db2c4b455
commit 95cbb3d908
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -1162,8 +1162,6 @@ _Py_fstat_noraise(int fd, struct _Py_stat_struct *status)
}
_Py_attribute_data_to_stat(&info, 0, status);
/* specific to fstat() */
status->st_ino = (((uint64_t)info.nFileIndexHigh) << 32) + info.nFileIndexLow;
return 0;
#else
return fstat(fd, status);