summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2022-12-09 13:02:07 +0000
committerRichard Hughes <richard@hughsie.com>2022-12-09 13:02:07 +0000
commitaff78dc0c4b8bdcc02dbbbb6c24ca43e298d54d7 (patch)
treebc8718416c14b2c4788be83f653fd523e9289798
parent5f3cb20207dd8619e7937702d5376a4bd437c05c (diff)
downloadgusb-aff78dc0c4b8bdcc02dbbbb6c24ca43e298d54d7.tar.gz
trivial: Be less verbose
-rw-r--r--gusb/gusb-context.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gusb/gusb-context.c b/gusb/gusb-context.c
index eb85e8a..6e8d82f 100644
--- a/gusb/gusb-context.c
+++ b/gusb/gusb-context.c
@@ -579,10 +579,8 @@ g_usb_context_hotplug_cb(struct libusb_context *ctx,
g_assert(locker != NULL);
/* libusb is returning devices but LIBUSB_HOTPLUG_ENUMERATE is not set! */
- if (!priv->done_enumerate) {
- g_debug("ignoring device as no enumerate!!");
+ if (!priv->done_enumerate)
return 0;
- }
helper = g_new0(GUsbContextIdleHelper, 1);
helper->self = g_object_ref(self);