diff --git a/src/socket/icmp.rs b/src/socket/icmp.rs index 89d3f8efe..c18b754d5 100644 --- a/src/socket/icmp.rs +++ b/src/socket/icmp.rs @@ -631,7 +631,6 @@ impl<'a> Socket<'a> { #[cfg(test)] mod tests_common { pub use super::*; - pub use crate::phy::DeviceCapabilities; pub use crate::wire::IpAddress; pub fn buffer(packets: usize) -> PacketBuffer<'static> { diff --git a/src/wire/ipv6fragment.rs b/src/wire/ipv6fragment.rs index 46246deb1..cf6b6d0ce 100644 --- a/src/wire/ipv6fragment.rs +++ b/src/wire/ipv6fragment.rs @@ -3,8 +3,6 @@ use core::fmt; use byteorder::{ByteOrder, NetworkEndian}; -pub use super::IpProtocol as Protocol; - /// A read/write wrapper around an IPv6 Fragment Header. #[derive(Debug, PartialEq, Eq)] #[cfg_attr(feature = "defmt", derive(defmt::Format))]