From aff78dc0c4b8bdcc02dbbbb6c24ca43e298d54d7 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Fri, 9 Dec 2022 13:02:07 +0000 Subject: trivial: Be less verbose --- gusb/gusb-context.c | 4 +--- 1 file changed, 1 insertion(+), 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); -- cgit v1.2.1