VirtualBox

Changeset 51743 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Jun 27, 2014 9:16:05 AM (11 years ago)
Author:
vboxsync
Message:

Main/src-server/win/USBProxyServiceWindows.cpp: delete commented out code sequence, wasn't used for many years

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/win/USBProxyServiceWindows.cpp

    r51092 r51743  
    227227    /* Nothing special here so far, so fall back on parent */
    228228    return USBProxyService::updateDeviceState(aDevice, aUSBDevice, aRunFilters, aIgnoreMachine);
    229 
    230 /// @todo remove?
    231 #if 0
    232 
    233     /*
    234      * We're only called in the 'existing device' state, so if there is a pending async
    235      * operation we can check if it completed here and suppress state changes if it hasn't.
    236      */
    237     /* TESTME */
    238     if (aDevice->isStatePending())
    239     {
    240         bool fRc = aDevice->updateState(aUSBDevice);
    241         if (fRc)
    242         {
    243             if (aDevice->state() != aDevice->pendingState())
    244                 fRc = false;
    245         }
    246         return fRc;
    247     }
    248 
    249     /* fall back on parent. */
    250     return USBProxyService::updateDeviceState(aDevice, aUSBDevice, aRunFilters, aIgnoreMachine);
    251 #endif
    252229}
    253230
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette