Author: mav
Date: Sun May  3 04:58:44 2009
New Revision: 191763
URL: http://svn.freebsd.org/changeset/base/191763

Log:
  Remove unused variable and fix spelling in comment.

Modified:
  head/sys/dev/acpica/acpi_cpu.c

Modified: head/sys/dev/acpica/acpi_cpu.c
==============================================================================
--- head/sys/dev/acpica/acpi_cpu.c      Sun May  3 04:01:43 2009        
(r191762)
+++ head/sys/dev/acpica/acpi_cpu.c      Sun May  3 04:58:44 2009        
(r191763)
@@ -79,7 +79,6 @@ struct acpi_cpu_softc {
     int                         cpu_features;  /* Child driver supported 
features. */
     /* Runtime state. */
     int                         cpu_non_c3;    /* Index of lowest non-C3 
state. */
-    int                         cpu_short_slp; /* Count of < 1us sleeps. */
     u_int               cpu_cx_stats[MAX_CX_STATES];/* Cx usage history. */
     /* Values for sysctl. */
     struct sysctl_ctx_list cpu_sysctl_ctx;
@@ -882,7 +881,7 @@ acpi_cpu_idle()
        return;
     }
 
-    /* Find the lowest state that has small enougth latency. */
+    /* Find the lowest state that has small enough latency. */
     cx_next_idx = 0;
     for (i = sc->cpu_cx_lowest; i >= 0; i--) {
        if (sc->cpu_cx_states[i].trans_lat * 3 <= sc->cpu_prev_sleep) {
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to