serial_stream_detect(): Drop unneeded sr_spew().
This commit is contained in:
parent
54d1122187
commit
006dbe5587
|
@ -834,7 +834,7 @@ SR_PRIV int serial_stream_detect(struct sr_serial_dev_inst *serial,
|
||||||
if (len > 0) {
|
if (len > 0) {
|
||||||
ibuf += len;
|
ibuf += len;
|
||||||
} else if (len == 0) {
|
} else if (len == 0) {
|
||||||
sr_spew("Error: Only read 0 bytes.");
|
/* No logging, already done in serial_read(). */
|
||||||
} else {
|
} else {
|
||||||
/* Error reading byte, but continuing anyway. */
|
/* Error reading byte, but continuing anyway. */
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue