diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-02-24 19:37:12 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2021-03-08 16:51:19 +0100 |
commit | 54e051920726caacc39b331647cdada93ee880da (patch) | |
tree | c3b7cf158404a2c4eeda3712ff0dc5d57b390de0 /drivers/acpi/processor_idle.c | |
parent | ACPI: processor: Remove initialization of static variable (diff) | |
download | linux-54e051920726caacc39b331647cdada93ee880da.tar.xz linux-54e051920726caacc39b331647cdada93ee880da.zip |
ACPI: processor: idle: Drop extra prefix from pr_notice()
Drop "ACPI: " from the pr_noitice() instance in
acpi_processor_cstate_first_run_checks(), because pr_fmt() causes
that prefix to be added to the message already.
Reported-by: Hanjun Guo <guohanjun@huawei.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Hanjun Guo <guohanjun@huawei.com>
Diffstat (limited to 'drivers/acpi/processor_idle.c')
-rw-r--r-- | drivers/acpi/processor_idle.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c index d93e400940a3..36dbcbc406b2 100644 --- a/drivers/acpi/processor_idle.c +++ b/drivers/acpi/processor_idle.c @@ -784,8 +784,8 @@ static inline void acpi_processor_cstate_first_run_checks(void) dmi_check_system(processor_power_dmi_table); max_cstate = acpi_processor_cstate_check(max_cstate); if (max_cstate < ACPI_C_STATES_MAX) - pr_notice("ACPI: processor limited to max C-state %d\n", - max_cstate); + pr_notice("processor limited to max C-state %d\n", max_cstate); + first_run++; if (nocst) |