]> sigrok.org Git - libsigrok.git/blobdiff - hardware/openbench-logic-sniffer/ols.c
ols: if no serial port specified, this driver is not used.
[libsigrok.git] / 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;