From 794348e0b9a344b26360f24ff69a9963e6c15f9d Mon Sep 17 00:00:00 2001
From: cig <guido.casati@iis.fraunhofer.de>
Date: Tue, 11 Feb 2020 14:50:03 +0100
Subject: [PATCH] Removed unnecessary return in gnb phytest scheduler (was
 followed by assert on same condition)

---
 openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
index f392aec7ed9..9b8f329400f 100644
--- a/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
+++ b/openair2/LAYER2/NR_MAC_gNB/gNB_scheduler_phytest.c
@@ -528,8 +528,6 @@ void nr_schedule_uss_dlsch_phytest(module_id_t   module_idP,
                               UE_id,
                               0); // m
 
-  if (CCEIndex == -1) return;
-
   AssertFatal(CCEIndex>0,"CCEIndex is negative\n");
   int CCEIndices[2];
   CCEIndices[0] = CCEIndex;
-- 
GitLab