Modules/USB - Cleanup and sorting, added hub code to build
[tpg/acess2.git] / Modules / USB / Core / main.c
index 277cf7c..d92c772 100644 (file)
@@ -30,8 +30,6 @@ tDevFS_Driver gUSB_DrvInfo = {
        }
 };
 tUSBHost       *gUSB_Hosts = NULL;
-tUSBInterface  *gUSB_InterruptDevs = NULL;
-tUSBInterface  *gUSB_InterruptLast = NULL;
 
 // === CODE ===
 /**
@@ -43,22 +41,6 @@ int USB_Install(char **Arguments)
        return MODULE_ERR_OK;
 }
 
-/**
- * \brief USB polling thread
- */
-int USB_PollThread(void *unused)
-{
-       for(;;)
-       {
-               for( tUSBInterface *dev = gUSB_InterruptDevs; dev; dev = dev->Next )
-               {
-//                     hub->CheckPorts(hub, hub->Device);
-               }
-               // TODO: Fine tune
-               Time_Delay(250);
-       }
-}
-
 /**
  * \brief Called just before module is unloaded
  */

UCC git Repository :: git.ucc.asn.au