diff options
author | Bryant Mairs <bryant@mai.rs> | 2017-07-11 22:35:52 -0700 |
---|---|---|
committer | Bryant Mairs <bryant@mai.rs> | 2017-07-19 07:19:26 -0700 |
commit | 415c563c36b1939fa39c5b0192a1b563a9f9bfa6 (patch) | |
tree | 0b684cf1273fad750bfab5cf6886912a7fea9324 | |
parent | 9ec84b80d4bc3d888f544aa4c3c5f64ab2c05496 (diff) | |
download | nix-415c563c36b1939fa39c5b0192a1b563a9f9bfa6.zip |
Remove unnecessary constants
-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; |