summaryrefslogtreecommitdiff
path: root/test/test.rs
diff options
context:
space:
mode:
Diffstat (limited to 'test/test.rs')
-rw-r--r--test/test.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/test.rs b/test/test.rs
index 709ac6d8..0efe9bd6 100644
--- a/test/test.rs
+++ b/test/test.rs
@@ -102,7 +102,7 @@ cfg_if! {
}
cfg_if! {
- if #[cfg(any(target_os = "android", target_os = "linux"))] {
+ if #[cfg(target_os = "linux")] {
macro_rules! require_kernel_version {
($name:expr, $version_requirement:expr) => {
use ::std::io::Write;
@@ -130,10 +130,6 @@ cfg_if! {
}
}
}
- } else {
- macro_rules! require_kernel_version {
- ($name:expr) => {}
- }
}
}