Skip to content

Commit

Permalink
Remove unnecessary constants
Browse files Browse the repository at this point in the history
  • Loading branch information
Susurrus committed Jul 13, 2017
1 parent b92ab84 commit db7ef5f
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/sys/ioctl/platform/linux.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

0 comments on commit db7ef5f

Please sign in to comment.