Skip to content

Commit

Permalink
ACPI: processor: Remove initialization of static variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tian Tao authored and Rafael J. Wysocki committed Mar 8, 2021
1 parent a38fd87 commit 41103b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/acpi/processor_perflib.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 41103b3

Please sign in to comment.