aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJacob Erlbeck <jerlbeck@sysmocom.de>2014-09-29 12:45:36 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2014-10-09 18:09:27 +0200
commitf349baeec8ea633d3a314b71b3f8afe723c49066 (patch)
tree963103f9309a79592afd284b1e86cb58dadb4d94
parentc9cd15fbc9902dd6792347bd6462c689dbc5374b (diff)
gbproxy: Replace ';;' by ';'
This patch removes some superfluous ';' from the code. Sponsored-by: On-Waves ehf
-rw-r--r--openbsc/src/gprs/gb_proxy_tlli.c6
-rw-r--r--openbsc/src/gprs/gprs_gb_parse.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/openbsc/src/gprs/gb_proxy_tlli.c b/openbsc/src/gprs/gb_proxy_tlli.c
index d521434da..9b337fef9 100644
--- a/openbsc/src/gprs/gb_proxy_tlli.c
+++ b/openbsc/src/gprs/gb_proxy_tlli.c
@@ -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);
diff --git a/openbsc/src/gprs/gprs_gb_parse.c b/openbsc/src/gprs/gprs_gb_parse.c
index db40e9772..87cea1b87 100644
--- a/openbsc/src/gprs/gprs_gb_parse.c
+++ b/openbsc/src/gprs/gprs_gb_parse.c
@@ -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 ||