Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Remove redundant assignment.



details:   https://anonhg.NetBSD.org/src/rev/c10bb82b4fc9
branches:  trunk
changeset: 770009:c10bb82b4fc9
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Fri Sep 30 04:10:54 2011 +0000

description:
Remove redundant assignment.

diffstat:

 sys/kern/subr_cpufreq.c |  5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diffs (26 lines):

diff -r 1e9dd8ff7224 -r c10bb82b4fc9 sys/kern/subr_cpufreq.c
--- a/sys/kern/subr_cpufreq.c   Fri Sep 30 04:05:07 2011 +0000
+++ b/sys/kern/subr_cpufreq.c   Fri Sep 30 04:10:54 2011 +0000
@@ -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 <sys/cdefs.h>
-__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 <sys/param.h>
 #include <sys/cpu.h>
@@ -477,7 +477,6 @@
        int32_t index;
 
        mutex_enter(&cpufreq_lock);
-       cf = cf_backend;
 
        if (__predict_false(cf->cf_init != true)) {
                mutex_exit(&cpufreq_lock);



Home | Main Index | Thread Index | Old Index