Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/acpi Remove a duplicate variable assignment.



details:   https://anonhg.NetBSD.org/src/rev/aa912e3a5c70
branches:  trunk
changeset: 754063:aa912e3a5c70
user:      jruoho <jruoho%NetBSD.org@localhost>
date:      Sun Apr 18 14:07:16 2010 +0000

description:
Remove a duplicate variable assignment.

diffstat:

 sys/dev/acpi/acpi.c |  7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)

diffs (28 lines):

diff -r 5a8576b3de7d -r aa912e3a5c70 sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c       Sun Apr 18 14:05:26 2010 +0000
+++ b/sys/dev/acpi/acpi.c       Sun Apr 18 14:07:16 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: acpi.c,v 1.176 2010/04/18 14:05:26 jruoho Exp $        */
+/*     $NetBSD: acpi.c,v 1.177 2010/04/18 14:07:16 jruoho Exp $        */
 
 /*-
  * Copyright (c) 2003, 2007 The NetBSD Foundation, Inc.
@@ -65,7 +65,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.176 2010/04/18 14:05:26 jruoho Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.177 2010/04/18 14:07:16 jruoho Exp $");
 
 #include "opt_acpi.h"
 #include "opt_pcifixup.h"
@@ -486,9 +486,6 @@
 
        acpi_active = 1;
 
-       /* Our current state is "awake". */
-       sc->sc_sleepstate = ACPI_STATE_S0;
-
        /* Show SCI interrupt. */
        aprint_verbose_dev(self, "SCI interrupting at int %u\n",
            AcpiGbl_FADT.SciInterrupt);



Home | Main Index | Thread Index | Old Index