aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-12 17:43:35 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-12 17:43:35 +0200
commitd723a97faee6efeed665a70bb6286887b6cd724b (patch)
tree791e8327302a63a2a736b15447cbf5885f8218a6
parent72b61e434444e3472071b6fb16b5fd89c5f1c93c (diff)
gprs_gmm.c: Drop unneeded brackets
-rw-r--r--src/gprs/gprs_gmm.c6
1 files changed, 2 insertions, 4 deletions
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 @@ rejected:
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;
}