Revert "Reformat imports to a consistent style for imports"

This reverts commit 139d15cd84.
This commit is contained in:
Trent Nelson
2021-12-13 08:48:39 -07:00
committed by Tao Zhu
parent d1e0941289
commit d7377d4794
380 changed files with 5320 additions and 6094 deletions

View File

@@ -36,7 +36,8 @@ fn tune_poh_service_priority(uid: u32) {
None
}
use std::{process::Command, str::from_utf8};
use std::process::Command;
use std::str::from_utf8;
if let Some(pid) = find_pid("solana-validato", "/proc", uid, |dir| {
let mut path = dir.path();
@@ -67,7 +68,8 @@ fn tune_poh_service_priority(uid: u32) {
#[cfg(target_os = "linux")]
fn tune_kernel_udp_buffers_and_vmmap() {
use sysctl::{CtlValue::String, Sysctl};
use sysctl::CtlValue::String;
use sysctl::Sysctl;
fn sysctl_write(name: &str, value: &str) {
if let Ok(ctl) = sysctl::Ctl::new(name) {
info!("Old {} value {:?}", name, ctl.value());