From 364f98ac1126ea0e7e20304406e9f74738411be8 Mon Sep 17 00:00:00 2001 From: mir Date: Fri, 27 Oct 2023 11:50:40 +0200 Subject: [PATCH] Avoid double initialization --- openair1/PHY/NR_UE_TRANSPORT/csi_rx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/openair1/PHY/NR_UE_TRANSPORT/csi_rx.c b/openair1/PHY/NR_UE_TRANSPORT/csi_rx.c index 60886ba58d..f11042f9b2 100644 --- a/openair1/PHY/NR_UE_TRANSPORT/csi_rx.c +++ b/openair1/PHY/NR_UE_TRANSPORT/csi_rx.c @@ -608,8 +608,6 @@ int nr_csi_rs_pmi_estimation(const PHY_VARS_NR_UE *ue, uint32_t *precoded_sinr_dB) { const NR_DL_FRAME_PARMS *frame_parms = &ue->frame_parms; - memset(i1,0,3*sizeof(uint8_t)); - i2[0] = 0; // i1 is a three-element vector in the form of [i11 i12 i13], when CodebookType is specified as 'Type1SinglePanel'. // Note that i13 is not applicable when the number of transmission layers is one of {1, 5, 6, 7, 8}.