From 80bc663296dade5d21e74fbbc5259b4f1b069fff Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sat, 29 Dec 2012 11:19:19 +0100 Subject: [PATCH] tondaj-sl-814: remove unneeded debugging --- hardware/tondaj-sl-814/api.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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;