diff --git a/sys/kern/subr_cpufreq.c b/sys/kern/subr_cpufreq.c index db2446b5f44b..8ecb781b7ab5 100644 --- a/sys/kern/subr_cpufreq.c +++ b/sys/kern/subr_cpufreq.c @@ -1,4 +1,4 @@ -/* $NetBSD: subr_cpufreq.c,v 1.3 2011/09/30 04:01:21 jruoho Exp $ */ +/* $NetBSD: subr_cpufreq.c,v 1.4 2011/09/30 04:10:54 jruoho Exp $ */ /*- * Copyright (c) 2011 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include -__KERNEL_RCSID(0, "$NetBSD: subr_cpufreq.c,v 1.3 2011/09/30 04:01:21 jruoho Exp $"); +__KERNEL_RCSID(0, "$NetBSD: subr_cpufreq.c,v 1.4 2011/09/30 04:10:54 jruoho Exp $"); #include #include @@ -477,7 +477,6 @@ cpufreq_set_step(struct cpu_info *ci, int32_t step) int32_t index; mutex_enter(&cpufreq_lock); - cf = cf_backend; if (__predict_false(cf->cf_init != true)) { mutex_exit(&cpufreq_lock);