Skip to content

Commit

Permalink
Also exclude optional vendor and model from criterion vector
Browse files Browse the repository at this point in the history
  • Loading branch information
andber1 committed Sep 8, 2024
1 parent da0ed3b commit d86278b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/posix/enumerate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -137,8 +137,6 @@ fn port_type(d: &libudev::Device) -> Result<SerialPortType> {
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::<Option<Vec<_>>>();
Expand Down

0 comments on commit d86278b

Please sign in to comment.