Commit be5844db authored by Robert Schmidt's avatar Robert Schmidt

Remove huge memset that is pointless

parent 8ff9d104
...@@ -972,7 +972,6 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl ...@@ -972,7 +972,6 @@ int pnf_p7_slot_ind(pnf_p7_t* pnf_p7, uint16_t phy_id, uint16_t sfn, uint16_t sl
if ( rx_slot_buffer->dl_tti_req == 0 && if ( rx_slot_buffer->dl_tti_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