From d92faf6cacf7088bd241bb8f0b1adc48082e85fb Mon Sep 17 00:00:00 2001 From: Bert Vermeulen Date: Sun, 23 Dec 2012 18:54:24 +0100 Subject: [PATCH] serial: more debug cleanup --- hardware/common/serial.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hardware/common/serial.c b/hardware/common/serial.c index 336e78ce..6cf43f98 100644 --- a/hardware/common/serial.c +++ b/hardware/common/serial.c @@ -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;