From d97d7d9b6c581103ec1a1b31f24b14565ad23be9 Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 6 Jan 2022 15:34:21 +0000 Subject: trivial: Remove the '1:1 already exists' debug lines on rescan --- 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 7f058d9..a1edb8d 100644 --- a/gusb/gusb-context.c +++ b/gusb/gusb-context.c @@ -285,10 +285,8 @@ g_usb_context_add_device (GUsbContext *context, if (priv->done_enumerate) device = g_usb_context_find_by_bus_address (context, bus, address, NULL); - if (device != NULL) { - g_debug ("%i:%i already exists", bus, address); + if (device != NULL) goto out; - } /* add the device */ device = _g_usb_device_new (context, dev, &error); -- cgit v1.2.1