Просмотр исходного кода

Back out another of my changes I am still investigating.

pete-pjb 3 лет назад
Родитель
Сommit
52261ac02d
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      src/portable/ehci/ehci.c

+ 0 - 1
src/portable/ehci/ehci.c

@@ -193,7 +193,6 @@ static void list_remove_qhd_by_addr(ehci_link_t* list_head, uint8_t dev_addr)
   {
   {
     // TODO check type for ISO iTD and siTD
     // TODO check type for ISO iTD and siTD
     // TODO Suppress cast-align warning
     // TODO Suppress cast-align warning
-	if( prev == NULL ) break;
 	#pragma GCC diagnostic push
 	#pragma GCC diagnostic push
     #pragma GCC diagnostic ignored "-Wcast-align"
     #pragma GCC diagnostic ignored "-Wcast-align"
     ehci_qhd_t* qhd = (ehci_qhd_t*) list_next(prev);
     ehci_qhd_t* qhd = (ehci_qhd_t*) list_next(prev);