diff --git a/gix-index/src/fs.rs b/gix-index/src/fs.rs index 5fb369f9eef..2be45bb8d7a 100644 --- a/gix-index/src/fs.rs +++ b/gix-index/src/fs.rs @@ -59,10 +59,8 @@ impl Metadata { #[cfg(any(target_os = "aix", target_os = "hurd"))] let seconds = self.0.st_mtim.tv_sec; - #[cfg(not(any(target_os = "netbsd", target_os = "aix", target_os = "hurd")))] + #[cfg(not(any(target_os = "aix", target_os = "hurd")))] let nanoseconds = self.0.st_mtime_nsec; - #[cfg(target_os = "netbsd")] - let nanoseconds = self.0.st_mtimensec; #[cfg(any(target_os = "aix", target_os = "hurd"))] let nanoseconds = self.0.st_mtim.tv_nsec; @@ -88,10 +86,8 @@ impl Metadata { #[cfg(any(target_os = "aix", target_os = "hurd"))] let seconds = self.0.st_ctim.tv_sec; - #[cfg(not(any(target_os = "netbsd", target_os = "aix", target_os = "hurd")))] + #[cfg(not(any(target_os = "aix", target_os = "hurd")))] let nanoseconds = self.0.st_ctime_nsec; - #[cfg(target_os = "netbsd")] - let nanoseconds = self.0.st_ctimensec; #[cfg(any(target_os = "aix", target_os = "hurd"))] let nanoseconds = self.0.st_ctim.tv_nsec;