vlr: remove unused parameter 'log_level' of auth_fsm_start()

We unconditionally use logging level of the parent FSM anyway.
All callers of auth_fsm_start() always pass fi->log_level.

Change-Id: If2fdf2564eb56d3d94ec3800bdcb0aabcad4e48d
This commit is contained in:
Vadim Yanitskiy 2020-01-25 06:02:48 +07:00 committed by fixeria
parent fc2b019cd8
commit 3daf0c2786
4 changed files with 2 additions and 4 deletions

View File

@ -338,7 +338,7 @@ static void proc_arq_vlr_fn_post_imsi(struct osmo_fsm_inst *fi)
if (is_auth_required(par)) {
osmo_fsm_inst_state_chg(fi, PR_ARQ_S_WAIT_AUTH,
0, 0);
vsub->auth_fsm = auth_fsm_start(vsub, fi->log_level, fi,
vsub->auth_fsm = auth_fsm_start(vsub, fi,
PR_ARQ_E_AUTH_RES,
par->is_r99,
par->is_utran);

View File

@ -596,7 +596,6 @@ struct osmo_fsm vlr_auth_fsm = {
/* MSC->VLR: Start Procedure Authenticate_VLR (TS 23.012 Ch. 4.1.2.2) */
struct osmo_fsm_inst *auth_fsm_start(struct vlr_subscr *vsub,
uint32_t log_level,
struct osmo_fsm_inst *parent,
uint32_t parent_term_event,
bool is_r99,

View File

@ -30,7 +30,6 @@ enum vlr_fsm_auth_event {
struct osmo_fsm vlr_auth_fsm;
struct osmo_fsm_inst *auth_fsm_start(struct vlr_subscr *vsub,
uint32_t log_level,
struct osmo_fsm_inst *parent,
uint32_t parent_term_event,
bool is_r99,

View File

@ -906,7 +906,7 @@ static void vlr_loc_upd_node1(struct osmo_fsm_inst *fi)
/* Authenticate_VLR */
osmo_fsm_inst_state_chg(fi, VLR_ULA_S_WAIT_AUTH,
LU_TIMEOUT_LONG, 0);
vsub->auth_fsm = auth_fsm_start(lfp->vsub, fi->log_level,
vsub->auth_fsm = auth_fsm_start(lfp->vsub,
fi, VLR_ULA_E_AUTH_RES,
lfp->is_r99,
lfp->is_utran);