diff --git a/aya/src/sys/mod.rs b/aya/src/sys/mod.rs index 5e77fdfe..07ab2787 100644 --- a/aya/src/sys/mod.rs +++ b/aya/src/sys/mod.rs @@ -77,7 +77,7 @@ unsafe fn syscall_impl(call: Syscall) -> SysResult { #[cfg(test)] pub(crate) fn kernel_version() -> Result<(u32, u32, u32), ()> { - return Ok((0xff, 0xff, 0xff)) + Ok((0xff, 0xff, 0xff)) } #[cfg(not(test))]