VirtualBox

Changeset 40216 in vbox for trunk/src/VBox/Runtime/r0drv


Ignore:
Timestamp:
Feb 22, 2012 3:17:31 PM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
76389
Message:

Runtime/r0drv/solaris: dead code removal.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r0drv/solaris/vbi/mp-r0drv-solaris.c

    r37062 r40216  
    124124    *pSet = g_rtMpSolarisCpuSet;
    125125    return pSet;
    126 
    127 #if 0
    128     RTCPUID idCpu;
    129 
    130     RTCpuSetEmpty(pSet);
    131     idCpu = RTMpGetMaxCpuId(); /* it's inclusive */
    132     do
    133     {
    134         if (RTMpIsCpuOnline(idCpu))
    135             RTCpuSetAdd(pSet, idCpu);
    136     } while (idCpu-- > 0);
    137 
    138     return pSet;
    139 #endif
    140126}
    141127
     
    146132    RTMpGetOnlineSet(&Set);
    147133    return RTCpuSetCount(&Set);
    148 
    149 #if 0
    150     int c;
    151     int cnt = 0;
    152 
    153     for (c = 0; c < vbi_cpu_count(); ++c)
    154     {
    155         if (vbi_cpu_online(c))
    156             ++cnt;
    157     }
    158     return cnt;
    159 #endif
    160134}
    161135
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