VirtualBox

Changeset 62618 in vbox for trunk/src/VBox/Devices/Network


Ignore:
Timestamp:
Jul 28, 2016 11:23:36 AM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
109188
Message:

Devices: unused parameter warnings.

Location:
trunk/src/VBox/Devices/Network
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Network/DevE1000Phy.cpp

    r62511 r62618  
    174174static void Phy::regWriteForbidden(PPHY pPhy, uint32_t index, uint16_t u16Value)
    175175{
     176    RT_NOREF_PV(pPhy); RT_NOREF_PV(index); RT_NOREF_PV(u16Value);
    176177    PhyLog(("PHY#%d At %02d write attempted to read-only '%s'\n",
    177178            pPhy->iInstance, s_regMap[index].u32Address, s_regMap[index].pszName));
     
    189190static uint16_t Phy::regReadUnimplemented(PPHY pPhy, uint32_t index)
    190191{
     192    RT_NOREF_PV(pPhy); RT_NOREF_PV(index);
    191193    PhyLog(("PHY#%d At %02d read attempted from unimplemented '%s'\n",
    192194            pPhy->iInstance, s_regMap[index].u32Address, s_regMap[index].pszName));
     
    204206static void Phy::regWriteUnimplemented(PPHY pPhy, uint32_t index, uint16_t u16Value)
    205207{
     208    RT_NOREF_PV(pPhy); RT_NOREF_PV(index); RT_NOREF_PV(u16Value);
    206209    PhyLog(("PHY#%d At %02d write attempted to unimplemented '%s'\n",
    207210            pPhy->iInstance, s_regMap[index].u32Address, s_regMap[index].pszName));
     
    441444static uint16_t Phy::regReadPSTATUS(PPHY pPhy, uint32_t index)
    442445{
     446    RT_NOREF_PV(pPhy); RT_NOREF_PV(index);
     447
    443448    /* Read latched value */
    444449    uint16_t u16 = REG(PSTATUS);
     
    459464static uint16_t Phy::regReadGSTATUS(PPHY pPhy, uint32_t index)
    460465{
     466    RT_NOREF_PV(pPhy); RT_NOREF_PV(index);
     467
    461468    /*
    462469     * - Link partner is capable of 1000BASE-T half duplex
  • trunk/src/VBox/Devices/Network/DevVirtioNet.cpp

    r62511 r62618  
    292292DECLINLINE(int) vnetCsRxEnter(PVNETSTATE pThis, int rcBusy)
    293293{
     294    RT_NOREF_PV(pThis);
     295    RT_NOREF_PV(rcBusy);
    294296    // STAM_PROFILE_START(&pThis->CTXSUFF(StatCsRx), a);
    295297    // int rc = PDMCritSectEnter(&pThis->csRx, rcBusy);
     
    301303DECLINLINE(void) vnetCsRxLeave(PVNETSTATE pThis)
    302304{
     305    RT_NOREF_PV(pThis);
    303306    // PDMCritSectLeave(&pThis->csRx);
    304307}
     
    367370static DECLCALLBACK(uint32_t) vnetIoCb_GetHostFeatures(void *pvState)
    368371{
     372    RT_NOREF_PV(pvState);
     373
    369374    /* We support:
    370375     * - Host-provided MAC address
     
    398403static DECLCALLBACK(uint32_t) vnetIoCb_GetHostMinimalFeatures(void *pvState)
    399404{
     405    RT_NOREF_PV(pvState);
    400406    return VNET_F_MAC;
    401407}
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