]> sigrok.org Git - libsigrok.git/commitdiff
ols: if no serial port specified, this driver is not used.
authorBert Vermeulen <redacted>
Fri, 16 Nov 2012 14:26:17 +0000 (15:26 +0100)
committerBert Vermeulen <redacted>
Fri, 16 Nov 2012 14:26:47 +0000 (15:26 +0100)
hardware/openbench-logic-sniffer/ols.c

index 643e2683ac1ecbb2260814075462a778fd856273..995fdccf4bdc41a2554752a83f79f5e9d49754ba 100644 (file)
@@ -409,10 +409,8 @@ static GSList *hw_scan(GSList *options)
                        break;
                }
        }
-       if (!conn) {
-               sr_err("ols: No serial port specified.");
+       if (!conn)
                return NULL;
-       }
 
        if (serialcomm == NULL)
                serialcomm = SERIALCOMM;