VirtualBox

Changeset 57990 in vbox for trunk/src/VBox/Devices/USB


Ignore:
Timestamp:
Oct 1, 2015 5:53:32 PM (10 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
103011
Message:

Removed the 'temporary' VBOX_WITH_NEW_USB_CODE_ON_DARWIN define (r29740, 7 years ago).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/USB/darwin/USBProxyDevice-darwin.cpp

    r57358 r57990  
    11841184    }
    11851185
    1186 #ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
    11871186    /*
    11881187     * Call the USBLib init to make sure we're a valid VBoxUSB client.
     
    11921191    if (RT_FAILURE(vrc))
    11931192        LogRel(("USB: USBLibInit failed - %Rrc\n", vrc));
    1194 #endif
    11951193
    11961194    /*
     
    13301328    }
    13311329
    1332 #ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
    13331330    USBLibTerm();
    1334 #endif
    13351331    return vrc;
    13361332}
     
    13791375
    13801376    IOReturn irc = (*pDevOsX->ppDevI)->ResetDevice(pDevOsX->ppDevI);
    1381 #ifndef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
    1382     if (irc == kIOReturnSuccess)
    1383         irc = (*pDevOsX->ppDevI)->USBDeviceReEnumerate(pDevOsX->ppDevI, 0);
    1384 #endif
    13851377
    13861378    irc = (*pDevOsX->ppDevI)->USBDeviceClose(pDevOsX->ppDevI);
     
    14091401    }
    14101402
    1411 #ifdef VBOX_WITH_NEW_USB_CODE_ON_DARWIN
    14121403    USBLibTerm();
    1413 #endif
    14141404    LogFlow(("usbProxyDarwinClose: returns\n"));
    14151405}
Note: See TracChangeset for help on using the changeset viewer.

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