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

pespin gerrit-no-reply at lists.osmocom.org
Tue Aug 13 09:54:02 UTC 2019


pespin has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  lynxis lazus: Looks good to me, approved



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-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis at fe80.eu>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190813/a96c06b1/attachment.html>


More information about the gerrit-log mailing list