[TIMER] continue to refine code

This commit is contained in:
Sukchan Lee 2019-07-20 16:39:01 +09:00
parent 6dc66bce85
commit 42f593d360
3 changed files with 1 additions and 13 deletions

View File

@ -40,7 +40,6 @@ int mme_initialize()
mme_context_init();
mme_event_init();
mme_timer_init();
rv = gtp_xact_init(mme_self()->timer_mgr);
if (rv != OGS_OK) return rv;
@ -79,7 +78,6 @@ void mme_terminate(void)
gtp_xact_final();
mme_timer_final();
mme_event_final();
}

View File

@ -21,7 +21,7 @@
#include "mme-event.h"
#include "mme-context.h"
mme_timer_cfg_t g_mme_timer_cfg[MAX_NUM_OF_MME_TIMER] = {
static mme_timer_cfg_t g_mme_timer_cfg[MAX_NUM_OF_MME_TIMER] = {
[MME_TIMER_T3413] =
{ .max_count = 2, .duration = ogs_time_from_sec(2) },
[MME_TIMER_SGS_CLI_CONN_TO_SRV] =
@ -31,14 +31,6 @@ mme_timer_cfg_t g_mme_timer_cfg[MAX_NUM_OF_MME_TIMER] = {
static void mme_ue_timer_event(
mme_timer_e timer_id, mme_ue_t *mme_ue);
void mme_timer_init(void)
{
}
void mme_timer_final(void)
{
}
mme_timer_cfg_t *mme_timer_cfg(mme_timer_e id)
{
ogs_assert(id < MAX_NUM_OF_MME_TIMER);

View File

@ -48,8 +48,6 @@ typedef struct mme_timer_cfg_s {
ogs_time_t duration;
} mme_timer_cfg_t;
void mme_timer_init(void);
void mme_timer_final(void);
mme_timer_cfg_t *mme_timer_cfg(mme_timer_e id);
const char *mme_timer_get_name(mme_timer_e id);