From 504adcc8c8d03be73010969c29ec4db158a29e97 Mon Sep 17 00:00:00 2001 From: carllin Date: Mon, 16 Dec 2019 16:36:37 -0800 Subject: [PATCH] Remove PoH priority tuning (#7494) * Remove priority tuning * Allow dead code --- sys-tuner/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys-tuner/src/main.rs b/sys-tuner/src/main.rs index e84bdf876..52ba8a81b 100644 --- a/sys-tuner/src/main.rs +++ b/sys-tuner/src/main.rs @@ -2,6 +2,7 @@ use clap::{crate_description, crate_name, value_t_or_exit, App, Arg}; use log::*; #[cfg(target_os = "linux")] +#[allow(dead_code)] fn tune_poh_service_priority(uid: u32) { fn find_pid, F>( name: &str, @@ -145,7 +146,6 @@ fn main() { #[cfg(target_os = "linux")] { tune_kernel_udp_buffers(); - tune_poh_service_priority(peer_uid); } } }