Module Name:    src
Committed By:   jruoho
Date:           Sun Apr 18 14:07:17 UTC 2010

Modified Files:
        src/sys/dev/acpi: acpi.c

Log Message:
Remove a duplicate variable assignment.


To generate a diff of this commit:
cvs rdiff -u -r1.176 -r1.177 src/sys/dev/acpi/acpi.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/acpi/acpi.c
diff -u src/sys/dev/acpi/acpi.c:1.176 src/sys/dev/acpi/acpi.c:1.177
--- src/sys/dev/acpi/acpi.c:1.176	Sun Apr 18 14:05:26 2010
+++ src/sys/dev/acpi/acpi.c	Sun Apr 18 14:07:16 2010
@@ -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);

Reply via email to