浏览代码

bpf: PerfEventByteArray: remove unused import

Alessandro Decina 3 年之前
父节点
当前提交
4116442cda
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      bpf/aya-bpf/src/maps/perf/perf_event_byte_array.rs

+ 1 - 1
bpf/aya-bpf/src/maps/perf/perf_event_byte_array.rs

@@ -1,4 +1,4 @@
-use core::{marker::PhantomData, mem};
+use core::mem;
 
 use crate::{
     bindings::{bpf_map_def, bpf_map_type::BPF_MAP_TYPE_PERF_EVENT_ARRAY, BPF_F_CURRENT_CPU},