From: Bert Vermeulen Date: Sat, 29 Dec 2012 10:19:19 +0000 (+0100) Subject: tondaj-sl-814: remove unneeded debugging X-Git-Tag: dsupstream~400 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=80bc663296dade5d21e74fbbc5259b4f1b069fff;p=libsigrok.git tondaj-sl-814: remove unneeded debugging --- diff --git a/hardware/tondaj-sl-814/api.c b/hardware/tondaj-sl-814/api.c index 17fbc2b1..5c72c6a2 100644 --- a/hardware/tondaj-sl-814/api.c +++ b/hardware/tondaj-sl-814/api.c @@ -120,10 +120,8 @@ static GSList *hw_scan(GSList *options) break; } } - if (!conn) { - sr_dbg("Couldn't determine connection options."); + if (!conn) return NULL; - } if (!serialcomm) serialcomm = SERIALCOMM;