[MISC]: Cleanup a bunch of unused variables, in cases where it was obvious these...
[reactos.git] / reactos / lib / drivers / libusb / usb_device.cpp
index 71ecb09..8887115 100644 (file)
@@ -308,7 +308,6 @@ CUSBDevice::SetDeviceAddress(
 {
     PUSB_DEFAULT_PIPE_SETUP_PACKET CtrlSetup;
     NTSTATUS Status;
-    UCHAR OldAddress;
     UCHAR Index;
 
     DPRINT1("[%s] SetDeviceAddress> Address %x\n", m_USBType, DeviceAddress);
@@ -341,9 +340,6 @@ CUSBDevice::SetDeviceAddress(
     // lets have a short nap
     KeStallExecutionProcessor(300);
 
-    // back up old address
-    OldAddress = m_DeviceAddress;
-
     // store new device address
     m_DeviceAddress = DeviceAddress;