VirtualBox

Ignore:
Timestamp:
Jan 19, 2016 8:06:25 AM (9 years ago)
Author:
vboxsync
Message:

VBoxUSB: Don't call IOUSBUserClientInit::probe because the result is not used anyway

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/VBoxUSB/darwin/VBoxUSB.cpp

    r59325 r59399  
    11071107     * It matched. Save the owner in the provider registry (hope that works).
    11081108     */
    1109     IOService *pRet = IOUSBUserClientInit::probe(pProvider, pi32Score);
     1109    /*IOService *pRet = IOUSBUserClientInit::probe(pProvider, pi32Score); - call always returns NULL on 10.11+ */
    11101110    /*AssertMsg(pRet == this, ("pRet=%p this=%p *pi32Score=%d \n", pRet, this, pi32Score ? *pi32Score : 0)); - call always returns NULL on 10.11+ */
    11111111    pRet = this;
     
    16841684    }
    16851685
    1686     IOService *pRet = IOUSBUserClientInit::probe(pProvider, pi32Score);
     1686    /* IOService *pRet = IOUSBUserClientInit::probe(pProvider, pi32Score); - call always returns NULL on 10.11+ */
    16871687    pRet = this;
    16881688    *pi32Score = _1G;
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