Commit 267be0af authored by Robert Schmidt's avatar Robert Schmidt

Remove huge memset that is pointless

parent 7949b622
...@@ -983,7 +983,6 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl ...@@ -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->tx_data_req == 0 &&
rx_slot_buffer->ul_tti_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].sfn = -1;
pnf_p7->slot_buffer[buffer_index_rx].slot = -1; pnf_p7->slot_buffer[buffer_index_rx].slot = -1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment