]> sigrok.org Git - libsigrok.git/commitdiff
serial_stream_detect(): Drop unneeded sr_spew().
authorUwe Hermann <redacted>
Sun, 16 Dec 2012 21:27:04 +0000 (22:27 +0100)
committerUwe Hermann <redacted>
Mon, 17 Dec 2012 13:21:12 +0000 (14:21 +0100)
hardware/common/serial.c

index 98b076109c0ffd2392fc1f5697c772cc67fdd108..cfdf9156a56556467d3755ce6f13cd3d7adfe02f 100644 (file)
@@ -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. */
                }