gbproxy: Replace ';;' by ';'
This patch removes some superfluous ';' from the code. Sponsored-by: On-Waves ehf
This commit is contained in:
parent
c9cd15fbc9
commit
f349baeec8
|
@ -517,7 +517,7 @@ struct gbproxy_link_info *gbproxy_update_link_state_ul(
|
|||
sgsn_tlli = gbproxy_make_sgsn_tlli(peer, link_info,
|
||||
parse_ctx->tlli);
|
||||
link_info->sgsn_tlli.current = sgsn_tlli;
|
||||
link_info->tlli.current = parse_ctx->tlli;;
|
||||
link_info->tlli.current = parse_ctx->tlli;
|
||||
} else if (!link_info->tlli.current) {
|
||||
/* New TLLI (info found by IMSI or P-TMSI) */
|
||||
link_info->tlli.current = parse_ctx->tlli;
|
||||
|
@ -597,8 +597,8 @@ struct gbproxy_link_info *gbproxy_update_link_state_dl(
|
|||
parse_ctx->tlli, new_ptmsi);
|
||||
|
||||
link_info = gbproxy_link_info_alloc(peer);
|
||||
link_info->sgsn_tlli.current = parse_ctx->tlli;;
|
||||
link_info->tlli.current = parse_ctx->tlli;;
|
||||
link_info->sgsn_tlli.current = parse_ctx->tlli;
|
||||
link_info->tlli.current = parse_ctx->tlli;
|
||||
link_info->sgsn_tlli.ptmsi = new_ptmsi;
|
||||
link_info->tlli.ptmsi = new_ptmsi;
|
||||
gbproxy_attach_link_info(peer, now, link_info);
|
||||
|
|
|
@ -157,7 +157,7 @@ static int gprs_gb_parse_gmm_attach_req(uint8_t *data, size_t data_len,
|
|||
if (lv_shift(&data, &data_len, NULL, &value_len) <= 0 ||
|
||||
value_len < 1 || value_len > 8)
|
||||
/* invalid */
|
||||
return 0;;
|
||||
return 0;
|
||||
|
||||
/* Skip Attach type */
|
||||
/* Skip Ciphering key sequence number */
|
||||
|
@ -421,7 +421,7 @@ static int gprs_gb_parse_gsm_act_pdp_req(uint8_t *data, size_t data_len,
|
|||
if (lv_shift(&data, &data_len, NULL, &value_len) <= 0 ||
|
||||
value_len < 4 || value_len > 14)
|
||||
/* invalid */
|
||||
return 0;;
|
||||
return 0;
|
||||
|
||||
/* Skip Requested PDP address */
|
||||
if (lv_shift(&data, &data_len, NULL, &value_len) <= 0 ||
|
||||
|
|
Loading…
Reference in New Issue