serial: more debug cleanup
This commit is contained in:
parent
49aaa0bc68
commit
d92faf6cac
|
@ -278,8 +278,6 @@ SR_PRIV int serial_read(struct sr_serial_dev_inst *serial, void *buf,
|
||||||
#else
|
#else
|
||||||
/* Returns the number of bytes read, or -1 upon failure. */
|
/* Returns the number of bytes read, or -1 upon failure. */
|
||||||
ret = read(serial->fd, buf, count);
|
ret = read(serial->fd, buf, count);
|
||||||
if (ret >= 0)
|
|
||||||
sr_spew("Read %d/%d bytes (fd %d).", ret, count, serial->fd);
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
|
Loading…
Reference in New Issue