serial_stream_detect(): Drop unneeded sr_spew().

This commit is contained in:
Uwe Hermann 2012-12-16 22:27:04 +01:00
parent 54d1122187
commit 006dbe5587
1 changed files with 1 additions and 1 deletions

View 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. */
}