diff --git a/src/transport/usb.rs b/src/transport/usb.rs index 92a91e7..c01da90 100644 --- a/src/transport/usb.rs +++ b/src/transport/usb.rs @@ -55,7 +55,7 @@ impl UsbTransport { ))?; log::debug!("Found USB Device {:?}", device); - let mut device_handle = match device.open() { + let device_handle = match device.open() { Ok(handle) => handle, #[cfg(target_os = "windows")] Err(rusb::Error::NotSupported) => {