Suppress unused-variable warning.

x86 machines lacking HAVE__CPUIDEX saw a complaint about
"unused variable 'reg'", per buildfarm as well as local
experience.  Oversight in bcb2cf41f.
This commit is contained in:
Tom Lane 2026-04-07 17:03:20 -04:00
parent 61c36a34a4
commit b268928f93

View file

@ -241,9 +241,8 @@ x86_tsc_frequency_khz(void)
static uint32
x86_hypervisor_tsc_frequency_khz(void)
{
unsigned int reg[4] = {0};
#if defined(HAVE__CPUIDEX)
unsigned int reg[4] = {0};
/*
* The hypervisor is determined using the 0x40000000 Hypervisor