]> sigrok.org Git - libsigrok.git/blobdiff - hardware/nexus-osciprime/api.c
Drop some lines that are no longer needed.
[libsigrok.git] / hardware / nexus-osciprime / api.c
index 238cda515867bd5ee5d278e53e4c78493acc0b0f..35bf27423af92cc047ffede3ff6691cc20c56021 100644 (file)
@@ -137,7 +137,7 @@ static int clear_instances(void)
 
 static int hw_init(struct sr_context *sr_ctx)
 {
-       return std_hw_init(sr_ctx, di, DRIVER_LOG_DOMAIN);
+       return std_hw_init(sr_ctx, di, LOG_PREFIX);
 }
 
 static GSList *hw_scan(GSList *options)
@@ -153,13 +153,8 @@ static GSList *hw_scan(GSList *options)
        int i;
        const char *conn;
 
-       (void)options;
-
        drvc = di->priv;
 
-       /* USB scan is always authoritative. */
-       clear_instances();
-
        conn = NULL;
        for (l = options; l; l = l->next) {
                src = l->data;