summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBryant Mairs <bryant@mai.rs>2017-07-11 22:35:52 -0700
committerMarcin Mielniczuk <marmistrz.dev@zoho.eu>2017-07-25 09:09:52 +0200
commit88dc19b9291f502db40da745df23fed65e0f3518 (patch)
tree5b585b3a5ffc95ed366d9fa2c7242bf7164c9d21 /src
parente4a1851ad9aae66246dfceb43e3f20127322879d (diff)
downloadnix-88dc19b9291f502db40da745df23fed65e0f3518.zip
Remove unnecessary constants
Diffstat (limited to 'src')
-rw-r--r--src/sys/ioctl/platform/linux.rs9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/sys/ioctl/platform/linux.rs b/src/sys/ioctl/platform/linux.rs
index 6daa9257..117085d2 100644
--- a/src/sys/ioctl/platform/linux.rs
+++ b/src/sys/ioctl/platform/linux.rs
@@ -113,12 +113,3 @@ macro_rules! iow {
macro_rules! iorw {
($ty:expr, $nr:expr, $sz:expr) => (ioc!($crate::sys::ioctl::READ | $crate::sys::ioctl::WRITE, $ty, $nr, $sz))
}
-
-#[doc(hidden)]
-pub const IN: u32 = (WRITE as u32) << DIRSHIFT;
-#[doc(hidden)]
-pub const OUT: u32 = (READ as u32) << DIRSHIFT;
-#[doc(hidden)]
-pub const INOUT: u32 = ((READ|WRITE) as u32) << DIRSHIFT;
-#[doc(hidden)]
-pub const SIZE_MASK: u32 = SIZEMASK << SIZESHIFT;