]> sigrok.org Git - libsigrok.git/commitdiff
serial: more debug cleanup
authorBert Vermeulen <redacted>
Sun, 23 Dec 2012 17:54:24 +0000 (18:54 +0100)
committerBert Vermeulen <redacted>
Mon, 24 Dec 2012 10:22:01 +0000 (11:22 +0100)
hardware/common/serial.c

index 336e78ce288b52f2cb07b5b9a7f5bb5da72297b4..6cf43f987f6bdec63d9d4f86824f5f95d955c88e 100644 (file)
@@ -278,8 +278,6 @@ SR_PRIV int serial_read(struct sr_serial_dev_inst *serial, void *buf,
 #else
        /* Returns the number of bytes read, or -1 upon failure. */
        ret = read(serial->fd, buf, count);
-       if (ret >= 0)
-               sr_spew("Read %d/%d bytes (fd %d).", ret, count, serial->fd);
 #endif
 
        return ret;