From: Uwe Hermann Date: Wed, 5 Sep 2018 18:31:48 +0000 (+0200) Subject: std: Drop unneeded/duplicate log messages. X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=f696d27e05da5221e915b44b7db5e0ebdc1dee30;p=libsigrok.git std: Drop unneeded/duplicate log messages. The sr_session_send() function will already log all of those anyway. --- diff --git a/src/std.c b/src/std.c index 47c3e534..9199611a 100644 --- a/src/std.c +++ b/src/std.c @@ -182,7 +182,6 @@ SR_PRIV int std_session_send_df_header(const struct sr_dev_inst *sdi) prefix = (sdi->driver) ? sdi->driver->name : "unknown"; /* Send header packet to the session bus. */ - sr_dbg("%s: Sending SR_DF_HEADER packet.", prefix); packet.type = SR_DF_HEADER; packet.payload = (uint8_t *)&header; header.feed_version = 1; @@ -221,8 +220,6 @@ SR_PRIV int std_session_send_df_end(const struct sr_dev_inst *sdi) prefix = (sdi->driver) ? sdi->driver->name : "unknown"; - sr_dbg("%s: Sending SR_DF_END packet.", prefix); - packet.type = SR_DF_END; packet.payload = NULL; @@ -259,8 +256,6 @@ SR_PRIV int std_session_send_frame_begin(const struct sr_dev_inst *sdi) prefix = (sdi->driver) ? sdi->driver->name : "unknown"; - sr_dbg("%s: Sending SR_DF_FRAME_BEGIN packet.", prefix); - packet.type = SR_DF_FRAME_BEGIN; packet.payload = NULL; @@ -297,8 +292,6 @@ SR_PRIV int std_session_send_frame_end(const struct sr_dev_inst *sdi) prefix = (sdi->driver) ? sdi->driver->name : "unknown"; - sr_dbg("%s: Sending SR_DF_FRAME_END packet.", prefix); - packet.type = SR_DF_FRAME_END; packet.payload = NULL;