libstd/rand/os.rs: Remove a tiny bit of duplicated code

It's nearly midnight. I'm tired. I'll look for something worth doing in the morning :)
This commit is contained in:
Cruz Julian Bishop 2015-06-25 23:37:28 +00:00
parent b213c947f8
commit ad39fcc535

View file

@ -41,9 +41,7 @@ mod imp {
const NR_GETRANDOM: libc::c_long = 318;
#[cfg(target_arch = "x86")]
const NR_GETRANDOM: libc::c_long = 355;
#[cfg(any(target_arch = "arm", target_arch = "aarch64"))]
const NR_GETRANDOM: libc::c_long = 384;
#[cfg(target_arch = "powerpc")]
#[cfg(any(target_arch = "arm", target_arch = "aarch64", target_arch = "powerpc"))]
const NR_GETRANDOM: libc::c_long = 384;
unsafe {