remove a unused global storage of slot number

This has no meaning at a global level, we run several slots: one tx,
several rx at same time. Some minor cleaning of C style
This commit is contained in:
Laurent THOMAS
2024-05-03 18:32:26 +02:00
committed by Robert Schmidt
parent c02908453a
commit 00d78f048a
9 changed files with 13 additions and 21 deletions
+1 -3
View File
@@ -388,11 +388,9 @@ static void match_crc_rx_pdu(nfapi_nr_rx_data_indication_t *rx_ind, nfapi_nr_crc
static void run_scheduler(module_id_t module_id, int CC_id, int frame, int slot)
{
NR_IF_Module_t *ifi = nr_if_inst[module_id];
// gNB_MAC_INST *mac = RC.nrmac[module_id];
NR_Sched_Rsp_t *sched_info;
LOG_D(NR_MAC, "Calling scheduler for %d.%d\n", frame, slot);
sched_info = allocate_sched_response();
NR_Sched_Rsp_t *sched_info = allocate_sched_response();
// clear UL DCI prior to handling ULSCH
sched_info->UL_dci_req.numPdus = 0;