Fix "set but not used" in kern_cpu.c

Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
Scott Long 2021-12-05 15:33:04 -07:00
parent 4d54d1b7fd
commit 95d35d7a0e

View File

@ -1122,7 +1122,7 @@ int
cpufreq_unregister(device_t dev)
{
device_t cf_dev;
struct cpufreq_softc *sc;
struct cpufreq_softc *sc __diagused;
/*
* If this is the last cpufreq child device, remove the control