dexter has uploaded this change for review.
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
---
M src/osmo-bsc/pcu_sock.c
1 file changed, 1 insertion(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-bsc refs/changes/49/30849/1
diff --git a/src/osmo-bsc/pcu_sock.c b/src/osmo-bsc/pcu_sock.c
index bfa07f9..1dcab56 100644
--- a/src/osmo-bsc/pcu_sock.c
+++ b/src/osmo-bsc/pcu_sock.c
@@ -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 @@
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;
To view, visit change 30849. To unsubscribe, or for help writing mail filters, visit settings.