Remove USB hotplug callback error log

If it fails, the error is already logged by sc_usb_register_callback().

PR #3011 <https://github.com/Genymobile/scrcpy/pull/3011>
master
Romain Vimont 4 years ago
parent be1936bb85
commit b9b2879789

@ -335,8 +335,6 @@ sc_usb_connect(struct sc_usb *usb, libusb_device *device,
LOGW("Libusb event thread handler could not be created, USB " LOGW("Libusb event thread handler could not be created, USB "
"device disconnection might not be detected immediately"); "device disconnection might not be detected immediately");
} }
} else {
LOGW("Could not register USB device disconnection callback");
} }
} }

Loading…
Cancel
Save