Change in osmo-bsc[master]: cosmetic: abis_rsl.c: drop uneccesary braces

Neels Hofmeyr gerrit-no-reply at lists.osmocom.org
Wed Nov 14 17:38:55 UTC 2018


Neels Hofmeyr has submitted this change and it was merged. ( https://gerrit.osmocom.org/11669 )

Change subject: cosmetic: abis_rsl.c: drop uneccesary braces
......................................................................

cosmetic: abis_rsl.c: drop uneccesary braces

Change-Id: I20a7b160321cf86179cdcece71c8158e76ba4a1b
---
M src/osmo-bsc/abis_rsl.c
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Jenkins Builder: Verified
  Pau Espin Pedrol: Looks good to me, approved
  Harald Welte: Looks good to me, approved



diff --git a/src/osmo-bsc/abis_rsl.c b/src/osmo-bsc/abis_rsl.c
index c16f044..6e8d078 100644
--- a/src/osmo-bsc/abis_rsl.c
+++ b/src/osmo-bsc/abis_rsl.c
@@ -895,9 +895,9 @@
 	/* 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;

-- 
To view, visit https://gerrit.osmocom.org/11669
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-bsc
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I20a7b160321cf86179cdcece71c8158e76ba4a1b
Gerrit-Change-Number: 11669
Gerrit-PatchSet: 3
Gerrit-Owner: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Neels Hofmeyr <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181114/404e3f2b/attachment.html>


More information about the gerrit-log mailing list