From: James Lee <49257044+juria90@users.noreply.github.com> Date: Mon, 13 Feb 2023 13:49:44 +0000 (-0800) Subject: gh-101810: Remove duplicated st_ino calculation (GH-101811) X-Git-Tag: v3.12.0a6~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=95cbb3d908175ccd855078b3fab7f99e7d0bca88;p=thirdparty%2FPython%2Fcpython.git gh-101810: Remove duplicated st_ino calculation (GH-101811) --- diff --git a/Python/fileutils.c b/Python/fileutils.c index 244bd899b3bd..22b2257a56d0 100644 --- a/Python/fileutils.c +++ b/Python/fileutils.c @@ -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);