summaryrefslogtreecommitdiffstats
path: root/sys/powerpc/cpufreq/pcr.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/powerpc/cpufreq/pcr.c')
-rw-r--r--sys/powerpc/cpufreq/pcr.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/powerpc/cpufreq/pcr.c b/sys/powerpc/cpufreq/pcr.c
index fc17592..ff4d20d 100644
--- a/sys/powerpc/cpufreq/pcr.c
+++ b/sys/powerpc/cpufreq/pcr.c
@@ -305,12 +305,10 @@ pcr_set(device_t dev, const struct cf_setting *set)
static int
pcr_get(device_t dev, struct cf_setting *set)
{
- struct pcr_softc *sc;
uint64_t psr;
if (set == NULL)
return (EINVAL);
- sc = device_get_softc(dev);
memset(set, CPUFREQ_VAL_UNKNOWN, sizeof(*set));
OpenPOWER on IntegriCloud