aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2023-01-27 11:29:33 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2023-01-27 11:29:52 +0100
commitea6d534369c1ad837236d8ef7d14da2f572bdc88 (patch)
treeb93101163876e7c38d208b6ab460c7bccb9252bb
parente0a8488773243c7b8a1fc85b6057e3f7d5d3e070 (diff)
cosmetic: Remove unneeded curly braces
-rw-r--r--src/gprs_rlcmac_sched.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gprs_rlcmac_sched.cpp b/src/gprs_rlcmac_sched.cpp
index 0a72e3b1..314fd586 100644
--- a/src/gprs_rlcmac_sched.cpp
+++ b/src/gprs_rlcmac_sched.cpp
@@ -162,9 +162,8 @@ static struct msgb *sched_select_ctrl_msg(struct gprs_rlcmac_pdch *pdch, uint32_
msg = tbf_dl_ass_create_rlcmac_msg(tbfs->dl_ass, pdch, fn);
else if (tbf == tbfs->ul_ack)
msg = tbf_ul_ack_create_rlcmac_msg(tbfs->ul_ack, pdch, fn);
- else if (tbf == tbfs->nacc) {
+ else if (tbf == tbfs->nacc)
msg = ms_nacc_create_rlcmac_msg(tbf->ms(), tbf, pdch, fn);
- }
if (!msg) {
tbf = NULL;