summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-07 16:53:45 +0100
committerNeels Hofmeyr <nhofmeyr@sysmocom.de>2016-03-14 23:58:23 +0100
commit8e7f4c6f21f32ed5afb356e3279aba4023e08569 (patch)
treec619f02f9120289d189f01a1be8da9a52f65190a
parent4a9b871de5fb8167ba678165ccdbad808fec4116 (diff)
cosmetic
-rw-r--r--openbsc/src/libmsc/gsm_04_08.c5
-rw-r--r--openbsc/src/libmsc/gsm_subscriber.c1
2 files changed, 2 insertions, 4 deletions
diff --git a/openbsc/src/libmsc/gsm_04_08.c b/openbsc/src/libmsc/gsm_04_08.c
index 4b82830a7..6a8586bc4 100644
--- a/openbsc/src/libmsc/gsm_04_08.c
+++ b/openbsc/src/libmsc/gsm_04_08.c
@@ -395,9 +395,8 @@ static int gsm0408_authorize(struct gsm_subscriber_connection *conn, struct msgb
}
if (authorize_subscriber(conn->loc_operation, conn->subscr))
- return gsm48_secure_channel(conn,
- conn->loc_operation->key_seq,
- _gsm0408_authorize_sec_cb, NULL);
+ return gsm48_secure_channel(conn, conn->loc_operation->key_seq,
+ _gsm0408_authorize_sec_cb, NULL);
return 0;
}
diff --git a/openbsc/src/libmsc/gsm_subscriber.c b/openbsc/src/libmsc/gsm_subscriber.c
index 63ad0f6d8..17efa1b77 100644
--- a/openbsc/src/libmsc/gsm_subscriber.c
+++ b/openbsc/src/libmsc/gsm_subscriber.c
@@ -399,7 +399,6 @@ void msc_subscr_con_free(struct gsm_subscriber_connection *conn)
if (!conn)
return;
-
if (conn->subscr) {
subscr_put(conn->subscr);
conn->subscr = NULL;