Skip to content

Commit db7ef5f

Browse files
committed
Remove unnecessary constants
1 parent b92ab84 commit db7ef5f

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/sys/ioctl/platform/linux.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -113,12 +113,3 @@ macro_rules! iow {
113113
macro_rules! iorw {
114114
($ty:expr, $nr:expr, $sz:expr) => (ioc!($crate::sys::ioctl::READ | $crate::sys::ioctl::WRITE, $ty, $nr, $sz))
115115
}
116-
117-
#[doc(hidden)]
118-
pub const IN: u32 = (WRITE as u32) << DIRSHIFT;
119-
#[doc(hidden)]
120-
pub const OUT: u32 = (READ as u32) << DIRSHIFT;
121-
#[doc(hidden)]
122-
pub const INOUT: u32 = ((READ|WRITE) as u32) << DIRSHIFT;
123-
#[doc(hidden)]
124-
pub const SIZE_MASK: u32 = SIZEMASK << SIZESHIFT;

0 commit comments

Comments
 (0)