scpi_serial.c: Drop an unneeded log message.

The number of bytes read is already logged by the serial backend:

  sr: [00:00.072857] scpi_serial: Read 1 bytes into buffer.
  sr: [00:00.073884] serial: Read 1/2008 bytes.
  sr: [00:00.073900] scpi_serial: Read 1 bytes into buffer.
  sr: [00:00.074896] serial: Read 1/2007 bytes.
  sr: [00:00.074905] scpi_serial: Read 1 bytes into buffer.
  sr: [00:00.075949] serial: Read 1/2006 bytes.
This commit is contained in:
Uwe Hermann 2018-05-31 20:26:50 +02:00
parent 319fe9cea6
commit 0261956fab
1 changed files with 0 additions and 2 deletions

View File

@ -152,8 +152,6 @@ static int scpi_serial_read_data(void *priv, char *buf, int maxlen)
return ret;
if (ret > 0) {
sr_spew("Read %d bytes into buffer.", ret);
if (buf[ret - 1] == '\n') {
sscpi->got_newline = TRUE;
sr_spew("Received terminator");