diff options
-rw-r--r-- | usr/src/cmd/powertop/common/powertop.c | 1 | ||||
-rw-r--r-- | usr/src/cmd/powertop/common/turbo.c | 14 |
2 files changed, 7 insertions, 8 deletions
diff --git a/usr/src/cmd/powertop/common/powertop.c b/usr/src/cmd/powertop/common/powertop.c index 731ff2af59..9b4188e363 100644 --- a/usr/src/cmd/powertop/common/powertop.c +++ b/usr/src/cmd/powertop/common/powertop.c @@ -72,7 +72,6 @@ state_info_t g_cstate_info[NSTATES]; freq_state_info_t g_pstate_info[NSTATES]; cpu_power_info_t *g_cpu_power_states; -boolean_t g_turbo_supported; boolean_t g_sig_resize; uint_t g_argc; diff --git a/usr/src/cmd/powertop/common/turbo.c b/usr/src/cmd/powertop/common/turbo.c index b2cafe7689..4909b70899 100644 --- a/usr/src/cmd/powertop/common/turbo.c +++ b/usr/src/cmd/powertop/common/turbo.c @@ -62,9 +62,9 @@ static turbo_info_t *t_new = NULL; static int pt_turbo_init(void) { - kstat_ctl_t *kc; - kstat_t *ksp; - kstat_named_t *knp; + kstat_ctl_t *kc; + kstat_t *ksp; + kstat_named_t *knp; /* * check if the CPU turbo is supported @@ -111,10 +111,10 @@ pt_turbo_init(void) static int pt_turbo_snapshot(turbo_info_t *turbo_snapshot) { - kstat_ctl_t *kc; - kstat_t *ksp; - kstat_named_t *knp; - int cpu; + kstat_ctl_t *kc; + kstat_t *ksp; + kstat_named_t *knp; + int cpu; turbo_info_t *turbo_info; if ((kc = kstat_open()) == NULL) |