Change in ...osmo-sgsn[master]: gprs_gmm.c: Drop unneeded brackets

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Mon Aug 12 17:14:54 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-sgsn/+/15164


Change subject: gprs_gmm.c: Drop unneeded brackets
......................................................................

gprs_gmm.c: Drop unneeded brackets

Change-Id: Ie8ba2b9da695de8730834abb591df64295bb6172
---
M src/gprs/gprs_gmm.c
1 file changed, 2 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-sgsn refs/changes/64/15164/1

diff --git a/src/gprs/gprs_gmm.c b/src/gprs/gprs_gmm.c
index f3ba290..5a6ea28 100644
--- a/src/gprs/gprs_gmm.c
+++ b/src/gprs/gprs_gmm.c
@@ -1820,10 +1820,8 @@
 	rc = gsm48_tx_gmm_ra_upd_rej(msg, reject_cause);
 	if (mmctx)
 		mm_ctx_cleanup_free(mmctx, "GPRS RA UPDATE REJ");
-	else {
-		if (llme)
-			gprs_llgmm_unassign(llme);
-	}
+	else if (llme)
+		gprs_llgmm_unassign(llme);
 
 	return rc;
 }

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-sgsn/+/15164
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-sgsn
Gerrit-Branch: master
Gerrit-Change-Id: Ie8ba2b9da695de8730834abb591df64295bb6172
Gerrit-Change-Number: 15164
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190812/f13c4fbd/attachment.htm>


More information about the gerrit-log mailing list