aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-litecell15/main.c
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-10-19 12:47:33 +0200
committerHarald Welte <laforge@osmocom.org>2020-10-19 18:17:36 +0200
commitcf7a7fcebf625a14fd764355c3b96fa86c77458c (patch)
tree8f8895354142306fc83d16231ad3c33a2aa3c234 /src/osmo-bts-litecell15/main.c
parent629824ac14e5ddf3f1374882e3529a2ce033e3e2 (diff)
remove dead oml_router code
We originally wanted to intrdouce an OML router which would permit external proceses to implement certain OML MOs. However, that code was never completed, and all the existing implementation (in three copies) does is to create a unix domain socket and discard what is received there. Change-Id: I7fcbbd5d6b64ddc666ca836dc49abb430be0d5cb
Diffstat (limited to 'src/osmo-bts-litecell15/main.c')
-rw-r--r--src/osmo-bts-litecell15/main.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/osmo-bts-litecell15/main.c b/src/osmo-bts-litecell15/main.c
index b48d3ecc..a4f04e78 100644
--- a/src/osmo-bts-litecell15/main.c
+++ b/src/osmo-bts-litecell15/main.c
@@ -76,7 +76,6 @@ static int write_status_file(char *status_file, char *status_str)
#include "utils.h"
#include "l1_if.h"
#include "hw_misc.h"
-#include "oml_router.h"
#include "misc/lc15bts_bid.h"
unsigned int dsp_trace = 0x00000000;
@@ -84,8 +83,6 @@ unsigned int dsp_trace = 0x00000000;
int bts_model_init(struct gsm_bts *bts)
{
struct stat st;
- static struct osmo_fd accept_fd, read_fd;
- int rc;
struct bts_lc15_priv *bts_lc15 = talloc(bts, struct bts_lc15_priv);
@@ -98,13 +95,6 @@ int bts_model_init(struct gsm_bts *bts)
/* RTP drift threshold default */
bts_lc15->rtp_drift_thres_ms = LC15_BTS_RTP_DRIFT_THRES_DEFAULT;
- rc = oml_router_init(bts, OML_ROUTER_PATH, &accept_fd, &read_fd);
- if (rc < 0) {
- fprintf(stderr, "Error creating the OML router: %s rc=%d\n",
- OML_ROUTER_PATH, rc);
- exit(1);
- }
-
if (stat(LC15BTS_RF_LOCK_PATH, &st) == 0) {
LOGP(DL1C, LOGL_NOTICE, "Not starting BTS due to RF_LOCK file present\n");
exit(23);