Skip to content

Commit

Permalink
fix: [kunai] remove unused import + deny(unused_import)
Browse files Browse the repository at this point in the history
  • Loading branch information
qjerome committed Jul 25, 2024
1 parent 565caa5 commit f5a075b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kunai/src/bin/main.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#![deny(unused_imports, clippy::all)]

use anyhow::anyhow;
use aya::maps::MapData;
use bytes::BytesMut;
Expand Down Expand Up @@ -52,13 +54,13 @@ use aya::{
util::online_cpus,
Bpf,
};
#[allow(unused_imports)]

use aya::{BpfLoader, VerifierLogLevel};

use log::{debug, error, info, warn};

use tokio::sync::{mpsc, Barrier, Mutex};
use tokio::{signal, task, time};
use tokio::{task, time};

use kunai::cache::*;

Expand Down Expand Up @@ -2008,7 +2010,6 @@ impl Command {
tokio::select! {
_ = tokio::signal::ctrl_c() => Ok(()),
res = main => res

}
}
}
Expand Down

0 comments on commit f5a075b

Please sign in to comment.