Skip to content

Commit 461b2ce

Browse files
committed
Remove unneeded dummy function.
1 parent 4694950 commit 461b2ce

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/libstd/sys/unix/os.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -624,12 +624,6 @@ pub fn getpid() -> u32 {
624624
unsafe { libc::getpid() as u32 }
625625
}
626626

627-
#[cfg(target_os = "freertos")]
628-
pub fn getppid() -> u32 {
629-
0
630-
}
631-
632-
#[cfg(not(target_os = "freertos"))]
633627
pub fn getppid() -> u32 {
634628
unsafe { libc::getppid() as u32 }
635629
}

0 commit comments

Comments
 (0)