Browse Source

Merge pull request #881 from smoltcp-rs/remove-unused-imports

Remove unused imports.
Dario Nieuwenhuis 1 year ago
parent
commit
4e2f477df2
2 changed files with 0 additions and 3 deletions
  1. 0 1
      src/socket/icmp.rs
  2. 0 2
      src/wire/ipv6fragment.rs

+ 0 - 1
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> {

+ 0 - 2
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))]