From 20416ab81d5218d83bee1882c4d7816cf654a3a5 Mon Sep 17 00:00:00 2001 From: Dario Nieuwenhuis Date: Sat, 23 Dec 2023 20:21:35 +0100 Subject: [PATCH] Remove unused imports. --- src/socket/icmp.rs | 1 - src/wire/ipv6fragment.rs | 2 -- 2 files changed, 3 deletions(-) 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))]