Kernel - Added return value to module cleanup, fixed LVM bugs
[tpg/acess2.git] / KernelLand / Modules / USB / Core / usb_lowlevel.c
index 6b38e65..dce7c33 100644 (file)
@@ -95,7 +95,6 @@ int USB_int_ReadDescriptor(tUSBDevice *Dev, int Endpoint, int Type, int Index, i
        const int       ciMaxPacketSize = 0x400;
        struct sDeviceRequest   req;
         int    bToggle = 0;
-       void    *final;
         int    dest = Dev->Address*16 + Endpoint;
 
        ENTER("pDev xdest iType iIndex iLength pDest",
@@ -131,7 +130,7 @@ int USB_int_ReadDescriptor(tUSBDevice *Dev, int Endpoint, int Type, int Index, i
 
        Threads_ClearEvent(THREAD_EVENT_SHORTWAIT);
        LOG("OUT (Status)");
-       final = Dev->Host->HostDef->ControlOUT(
+       Dev->Host->HostDef->ControlOUT(
                Dev->Host->Ptr, dest, 1,
                USB_int_WakeThread, Proc_GetCurThread(),
                NULL, 0

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