Merge pull request #8 from dmitris/patch-1

remove unused import std::convert::TryFrom
pull/26/head
Dave Tucker 3 years ago committed by GitHub
commit 870853ed30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -14,6 +14,7 @@ use aya::programs::SockOps;
use aya::maps::{MapRefMut,SockHash}; use aya::maps::{MapRefMut,SockHash};
use aya::programs::SkMsg; use aya::programs::SkMsg;
use {{crate_name}}_common::SockKey; use {{crate_name}}_common::SockKey;
use std::convert::TryFrom;
{%- when "xdp" -%} {%- when "xdp" -%}
use aya::programs::{Xdp, XdpFlags}; use aya::programs::{Xdp, XdpFlags};
{%- when "classifier" -%} {%- when "classifier" -%}
@ -28,7 +29,7 @@ use aya::{programs::Lsm, Btf};
use aya::{programs::BtfTracePoint, Btf}; use aya::{programs::BtfTracePoint, Btf};
{%- endcase %} {%- endcase %}
use std::{ use std::{
convert::{TryFrom,TryInto}, convert::TryInto,
sync::Arc, sync::Arc,
sync::atomic::{AtomicBool, Ordering}, sync::atomic::{AtomicBool, Ordering},
thread, thread,

Loading…
Cancel
Save