fix: remove unused code to pass clippy CI checks

This commit is contained in:
Graham McIntire 2026-01-19 13:42:00 -06:00
parent 4269591803
commit aa32be93be
No known key found for this signature in database
2 changed files with 0 additions and 8 deletions

View file

@ -4,9 +4,6 @@ use std::time::Duration;
use tokio::net::UdpSocket; use tokio::net::UdpSocket;
use tokio::time::timeout; use tokio::time::timeout;
/// ICMP protocol number
const IPPROTO_ICMP: i32 = 1;
/// ICMP message types /// ICMP message types
const ICMP_ECHO: u8 = 8; const ICMP_ECHO: u8 = 8;
const ICMP_ECHOREPLY: u8 = 0; const ICMP_ECHOREPLY: u8 = 0;

View file

@ -321,11 +321,6 @@ impl AgentClient {
); );
Ok(()) Ok(())
} }
/// Get the monitoring check sender for spawning ping tasks.
pub fn monitoring_check_sender(&self) -> mpsc::UnboundedSender<MonitoringCheck> {
self.monitoring_check_tx.clone()
}
} }
/// Execute an SNMP job and collect results. /// Execute an SNMP job and collect results.