summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorTian Tao <tiantao6@hisilicon.com>2021-02-23 01:56:29 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-03-08 16:51:19 +0100
commit41103b3bbe37bbefe78562f915f799598e2b560c (patch)
tree27fb8d160be45cf13f05529690b6ee35724e13c5 /drivers
parentLinux 5.12-rc2 (diff)
downloadlinux-41103b3bbe37bbefe78562f915f799598e2b560c.tar.xz
linux-41103b3bbe37bbefe78562f915f799598e2b560c.zip
ACPI: processor: Remove initialization of static variable
Address the following checkpatch error: ERROR: do not initialise statics to false Signed-off-by: Tian Tao <tiantao6@hisilicon.com> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to '')
-rw-r--r--drivers/acpi/processor_perflib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/processor_perflib.c b/drivers/acpi/processor_perflib.c
index 32f0f554ccae..91c401e2a4ca 100644
--- a/drivers/acpi/processor_perflib.c
+++ b/drivers/acpi/processor_perflib.c
@@ -459,7 +459,7 @@ int acpi_processor_pstate_control(void)
int acpi_processor_notify_smm(struct module *calling_module)
{
- static int is_done = 0;
+ static int is_done;
int result;
if (!acpi_processor_cpufreq_init)