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-14 17:33:00 +0100
commit5bf71c7e94dffdc7e5ce6e3f6bc2ac39e4e98a4d (patch)
tree7f35ebf89dd7a70a7b92c62142910702b990b558
parenteee24eb96435a14afd8a0423a2a8827c36108470 (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;