From 77b93ca4ab68f3fade8c0f313bcea1bc358f0db1 Mon Sep 17 00:00:00 2001 From: andber1 <82754113+andber1@users.noreply.github.com> Date: Sun, 8 Sep 2024 21:33:55 +0200 Subject: [PATCH] Also exclude optional vendor and model from criterion vector --- src/posix/enumerate.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/posix/enumerate.rs b/src/posix/enumerate.rs index 39c87052..08e877b3 100644 --- a/src/posix/enumerate.rs +++ b/src/posix/enumerate.rs @@ -140,8 +140,6 @@ fn port_type(d: &libudev::Device) -> Result { let usb_properties = vec![ d.property_value("ID_USB_VENDOR_ID"), d.property_value("ID_USB_MODEL_ID"), - d.property_value("ID_USB_VENDOR"), - d.property_value("ID_USB_MODEL"), ] .into_iter() .collect::>>();