PiSwFreeInterfaceList

VOID __stdcall PiSwFreeInterfaceList(_LIST_ENTRY *InterfaceList){
  _LIST_ENTRY *Flink; 
  _LIST_ENTRY *v3; 

  while( 1 )
  {
    Flink = InterfaceList->Flink;
    if( InterfaceList->Flink == InterfaceList )
      break;
    if( Flink->Blink != InterfaceList || (v3 = Flink->Flink, Flink->Flink->Blink != Flink) )
      __fastfail(3u);
    InterfaceList->Flink = v3;
    v3->Blink = InterfaceList;
    PiSwInterfaceFree((_PI_SWD_INTERFACE *)Flink);
  }
}

Referenced by:

PiSwCompleteCreate
PiSwDeviceFree
PiSwIrpStartCreateWorker
PiSwProcessRemove