omit unused code.

This commit is contained in:
Gatsby Van
2023-12-22 01:20:00 +08:00
parent 0bec764c96
commit f72e6fadb1
+3 -3
View File
@@ -1330,10 +1330,10 @@ static int32_t Linklayer_Routine (L2_INST* instPtr) {
// FIXME: Increase TTL counter // FIXME: Increase TTL counter
if (instPtr->mainState != INIT_STATE) if (instPtr->mainState != INIT_STATE)
{ {
if ( IsNodeInList (instPtr->nodeList, rtneEntry.src0) ) // if ( L2_isNodeInList (instPtr->nodeList, rtneEntry.src0) )
{ // {
// IncNodeTTL(usedSlots, rtneEntry.src0 ); // IncNodeTTL(usedSlots, rtneEntry.src0 );
} // }
} }
return Status; return Status;
} }