From b9b28797893c9449b89b44e1c0ac209a5358cca5 Mon Sep 17 00:00:00 2001 From: Romain Vimont Date: Thu, 10 Feb 2022 09:29:07 +0100 Subject: [PATCH] Remove USB hotplug callback error log If it fails, the error is already logged by sc_usb_register_callback(). PR #3011 --- app/src/usb/usb.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/src/usb/usb.c b/app/src/usb/usb.c index 7a0e4cfd..799ada94 100644 --- a/app/src/usb/usb.c +++ b/app/src/usb/usb.c @@ -335,8 +335,6 @@ sc_usb_connect(struct sc_usb *usb, libusb_device *device, LOGW("Libusb event thread handler could not be created, USB " "device disconnection might not be detected immediately"); } - } else { - LOGW("Could not register USB device disconnection callback"); } }