From df0fd8ba27bff5890ecd8bda960fffcf45d1db35 Mon Sep 17 00:00:00 2001 From: Vadim Yanitskiy Date: Fri, 23 Aug 2019 18:42:24 +0200 Subject: osmobts_sock.cpp: do not print the same debug message twice The following message is printed by the pcu_tx_txt_ind(): DL1IF INFO pcu_l1_if.cpp:113 Sending XXX TXT as PCU_VERSION to BTS There is no need to print it twice: DL1IF INFO osmobts_sock.cpp:74 Sending version XXX to BTS. DL1IF INFO pcu_l1_if.cpp:113 Sending XXX TXT as PCU_VERSION to BTS Change-Id: Ic2793f20cf9df2fa08c45070a8f81ef1c08b925a --- src/osmobts_sock.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osmobts_sock.cpp b/src/osmobts_sock.cpp index 4321696e..20fb174b 100644 --- a/src/osmobts_sock.cpp +++ b/src/osmobts_sock.cpp @@ -71,7 +71,6 @@ static void pcu_tx_txt_retry(void *_priv) if (bts->active) return; - LOGP(DL1IF, LOGL_INFO, "Sending version %s to BTS.\n", PACKAGE_VERSION); pcu_tx_txt_ind(PCU_VERSION, "%s", PACKAGE_VERSION); osmo_timer_schedule(&state->timer, 5, 0); } @@ -250,7 +249,6 @@ int pcu_l1if_open(void) pcu_sock_state = state; - LOGP(DL1IF, LOGL_INFO, "Sending version %s to BTS.\n", PACKAGE_VERSION); pcu_tx_txt_ind(PCU_VERSION, "%s", PACKAGE_VERSION); /* Schedule a timer so we keep trying until the BTS becomes active. */ -- cgit v1.2.3