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 <pes...@sysmocom.de> Gerrit-MessageType: newchange