omit redundant code.
This commit is contained in:
@@ -323,9 +323,8 @@ void L2_EventPoolHandler(L2_INST* instPtr){
|
||||
DBG_ERROR("Failed to initialize schedule event pool iteration.\n");
|
||||
return;
|
||||
}
|
||||
while (iter->next != NULL)
|
||||
while ((node = list_iterator_next(iter)))
|
||||
{
|
||||
node = list_iterator_next(iter);
|
||||
event = (L2_SCHD_EVENT*)node->val;
|
||||
if(L2_isEventScheduled(event)){
|
||||
if(event->schdFrame == L2_GetCurrentFrameNum(instPtr)
|
||||
|
||||
Reference in New Issue
Block a user