Skip to content

Commit 8292a66

Browse files
committed
get rid of a compile warning
Change-Id: I58c0a9419946c4393399cde40de268bcc1040416
1 parent 38fd223 commit 8292a66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cpucounters.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2490,6 +2490,7 @@ void PCM::initUncorePMUsDirect()
24902490
}
24912491
}
24922492
}
2493+
#if 0
24932494
auto findPCICFGPMU = [](const uint32 did,
24942495
const int s,
24952496
const uint32 CtlOffset,
@@ -2525,14 +2526,13 @@ void PCM::initUncorePMUsDirect()
25252526
{
25262527
switch (cpu_model)
25272528
{
2528-
#if 0
25292529
case BDX:
25302530
irpPMUs[s][0] = findPCICFGPMU(0x6f2a, s, 0xF4, {0xD8, 0xDC, 0xE0, 0xE4}, {0xA0, 0xB0, 0xB8, 0xC0});
25312531
iioPMUs[s][0] = findPCICFGPMU(0x6f34, s, 0xF4, {0xD8, 0xDC, 0xE0, 0xE4}, {0xA0, 0xA8, 0xB0, 0xB8});
25322532
break;
2533-
#endif
25342533
}
25352534
}
2535+
#endif
25362536

25372537
if (hasPCICFGUncore() && MSR.size())
25382538
{

0 commit comments

Comments
 (0)