serial: more debug cleanup

This commit is contained in:
Bert Vermeulen 2012-12-23 18:54:24 +01:00
parent 49aaa0bc68
commit d92faf6cac
1 changed files with 0 additions and 2 deletions

View File

@ -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;