aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2018-11-06 21:41:26 +0100
committerNeels Hofmeyr <neels@hofmeyr.de>2018-11-12 16:34:08 +0100
commit3cf0d0219697cbcbbecb058fb0ea38cb124a8039 (patch)
tree414adfdd98df5b56fd17de0f336f2f6257035475
parentf48fcb1ec12746cde56ba9e17653818d20a3bc2c (diff)
cosmetic: abis_rsl.c: drop uneccesary braces
-rw-r--r--src/osmo-bsc/abis_rsl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index c16f0446e..6e8d078d6 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -895,9 +895,9 @@ static int rsl_rx_conn_fail(struct msgb *msg)
/* If the lchan is associated with a conn, we shall notify the MSC of the RSL Conn Failure, and
* the connection will presumably be torn down and lead to an lchan release. During initial
* Channel Request from the MS, an lchan has no conn yet, so in that case release now. */
- if (!lchan->conn) {
+ if (!lchan->conn)
lchan_release(lchan, false, true, *cause_p);
- } else
+ else
osmo_fsm_inst_dispatch(lchan->conn->fi, GSCON_EV_RSL_CONN_FAIL, (void*)cause_p);
return 0;