diff options
-rw-r--r-- | src/common/main.c | 2 | ||||
-rw-r--r-- | src/osmo-bts-trx/scheduler_trx.c | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/src/common/main.c b/src/common/main.c index 6d8088ca..f4dc505d 100644 --- a/src/common/main.c +++ b/src/common/main.c @@ -56,7 +56,7 @@ #include <osmocom/ctrl/control_vty.h> #include <osmo-bts/oml.h> -int quit = 0; +static int quit = 0; static const char *config_file = "osmo-bts.cfg"; static int daemonize = 0; static int rt_prio = -1; diff --git a/src/osmo-bts-trx/scheduler_trx.c b/src/osmo-bts-trx/scheduler_trx.c index fcd1eeef..85f0e92f 100644 --- a/src/osmo-bts-trx/scheduler_trx.c +++ b/src/osmo-bts-trx/scheduler_trx.c @@ -134,8 +134,6 @@ static inline void normalize_timespec(struct timespec *ts) ts->tv_nsec = ts->tv_nsec % 1000000000; } -extern int quit; - /*! this is the timerfd-callback firing for every FN to be processed */ static int trx_fn_timer_cb(struct osmo_fd *ofd, unsigned int what) { @@ -274,9 +272,6 @@ int trx_sched_clock(struct gsm_bts *bts, uint32_t fn) unsigned int fn_caught_up = 0; const struct timespec interval = { .tv_sec = 0, .tv_nsec = GSM_TDMA_FN_DURATION_nS }; - if (quit) - return 0; - /* reset lost counter */ tcs->fn_without_clock_ind = 0; |