Skip to content

Commit 41103b3

Browse files
Tian Taorafaeljw
authored andcommitted
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>
1 parent a38fd87 commit 41103b3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/acpi/processor_perflib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ int acpi_processor_pstate_control(void)
459459

460460
int acpi_processor_notify_smm(struct module *calling_module)
461461
{
462-
static int is_done = 0;
462+
static int is_done;
463463
int result;
464464

465465
if (!acpi_processor_cpufreq_init)

0 commit comments

Comments
 (0)