From: Uwe Hermann Date: Sun, 16 Dec 2012 21:27:04 +0000 (+0100) Subject: serial_stream_detect(): Drop unneeded sr_spew(). X-Git-Tag: dsupstream~439 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=006dbe55878ec7499e58a130c27f6c4297ada54b;p=libsigrok.git serial_stream_detect(): Drop unneeded sr_spew(). --- diff --git a/hardware/common/serial.c b/hardware/common/serial.c index 98b07610..cfdf9156 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -834,7 +834,7 @@ SR_PRIV int serial_stream_detect(struct sr_serial_dev_inst *serial, if (len > 0) { ibuf += len; } else if (len == 0) { - sr_spew("Error: Only read 0 bytes."); + /* No logging, already done in serial_read(). */ } else { /* Error reading byte, but continuing anyway. */ }