From 267be0afc17fe862f70f08f2949662eebfaa082c Mon Sep 17 00:00:00 2001 From: Robert Schmidt Date: Tue, 2 Apr 2024 17:13:18 +0200 Subject: [PATCH] Remove huge memset that is pointless --- nfapi/open-nFAPI/pnf/src/pnf_p7.c | 1 - 1 file changed, 1 deletion(-) diff --git a/nfapi/open-nFAPI/pnf/src/pnf_p7.c b/nfapi/open-nFAPI/pnf/src/pnf_p7.c index 78a205654e..19e14c0607 100644 --- a/nfapi/open-nFAPI/pnf/src/pnf_p7.c +++ b/nfapi/open-nFAPI/pnf/src/pnf_p7.c @@ -983,7 +983,6 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl rx_slot_buffer->tx_data_req == 0 && rx_slot_buffer->ul_tti_req == 0) { - memset(&(pnf_p7->slot_buffer[buffer_index_rx]), 0, sizeof(nfapi_pnf_p7_slot_buffer_t)); pnf_p7->slot_buffer[buffer_index_rx].sfn = -1; pnf_p7->slot_buffer[buffer_index_rx].slot = -1; }