]> sigrok.org Git - libsigrok.git/blobdiff - hardware/chronovu-la8/api.c
sr_driver_scan(): Improve checks.
[libsigrok.git] / hardware / chronovu-la8 / api.c
index 478f0a1c95b1763de0893a25b1adb6b4065b3f62..2a97440f013a21d3cf8e4cfa2ef7fa90aaae221e 100644 (file)
@@ -96,6 +96,7 @@ static GSList *hw_scan(GSList *options)
        (void)options;
 
        drvc = di->priv;
+
        devices = NULL;
 
        /* Allocate memory for our private device context. */
@@ -169,8 +170,6 @@ static GSList *hw_scan(GSList *options)
        devices = g_slist_append(devices, sdi);
        drvc->instances = g_slist_append(drvc->instances, sdi);
 
-       sr_spew("Device init successful.");
-
        /* Close device. We'll reopen it again when we need it. */
        (void) la8_close(devc); /* Log, but ignore errors. */