Remove PoH priority tuning (#7494)

* Remove priority tuning

* Allow dead code
This commit is contained in:
carllin 2019-12-16 16:36:37 -08:00 committed by Pankaj Garg
parent f03ed9f5bf
commit 504adcc8c8
1 changed files with 1 additions and 1 deletions

View File

@ -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<P: AsRef<std::path::Path>, F>(
name: &str,
@ -145,7 +146,6 @@ fn main() {
#[cfg(target_os = "linux")]
{
tune_kernel_udp_buffers();
tune_poh_service_priority(peer_uid);
}
}
}