pcu_sock: drop unused variable pcu_direct

The variable pcu_direct is set to one permanently, lets remove it.

Change-Id: I7917ee5abc3347776dc9793cfb4ec3e99df94683
Related: OS#5198
This commit is contained in:
Philipp Maier 2023-01-03 13:53:38 +01:00
parent c5476db6a5
commit 5cd6d86e94
1 changed files with 1 additions and 4 deletions

View File

@ -45,7 +45,6 @@
#include <osmocom/bsc/bts_sm.h>
static int pcu_sock_send(struct gsm_bts *bts, struct msgb *msg);
int pcu_direct = 1;
static const char *sapi_string[] = {
[PCU_IF_SAPI_RACH] = "RACH",
@ -135,9 +134,7 @@ static int pcu_tx_info_ind(struct gsm_bts *bts)
info_ind = &pcu_prim->u.info_ind;
info_ind->version = PCU_IF_VERSION;
info_ind->flags |= PCU_IF_FLAG_ACTIVE;
if (pcu_direct)
info_ind->flags |= PCU_IF_FLAG_SYSMO;
info_ind->flags |= PCU_IF_FLAG_SYSMO;
/* RAI */
info_ind->mcc = bts->network->plmn.mcc;