diff options
author | Bryant Mairs <bryant@mai.rs> | 2017-07-11 22:35:52 -0700 |
---|---|---|
committer | Marcin Mielniczuk <marmistrz.dev@zoho.eu> | 2017-07-25 09:09:52 +0200 |
commit | 88dc19b9291f502db40da745df23fed65e0f3518 (patch) | |
tree | 5b585b3a5ffc95ed366d9fa2c7242bf7164c9d21 /src | |
parent | e4a1851ad9aae66246dfceb43e3f20127322879d (diff) | |
download | nix-88dc19b9291f502db40da745df23fed65e0f3518.zip |
Remove unnecessary constants
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/ioctl/platform/linux.rs | 9 |
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; |