Skip to content

Commit 69cace6

Browse files
wangzhitongrafaeljw
authored andcommitted
ACPI: EC: Remove initialization of static variables to false
Remove the initialization of two static variables to false which is pointless. Signed-off-by: wangzhitong <[email protected]> [ rjw: Subject and changelog ] Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent eb794e3 commit 69cace6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/acpi/ec.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ static unsigned int ec_storm_threshold __read_mostly = 8;
133133
module_param(ec_storm_threshold, uint, 0644);
134134
MODULE_PARM_DESC(ec_storm_threshold, "Maxim false GPE numbers not considered as GPE storm");
135135

136-
static bool ec_freeze_events __read_mostly = false;
136+
static bool ec_freeze_events __read_mostly;
137137
module_param(ec_freeze_events, bool, 0644);
138138
MODULE_PARM_DESC(ec_freeze_events, "Disabling event handling during suspend/resume");
139139

@@ -177,7 +177,7 @@ struct acpi_ec *first_ec;
177177
EXPORT_SYMBOL(first_ec);
178178

179179
static struct acpi_ec *boot_ec;
180-
static bool boot_ec_is_ecdt = false;
180+
static bool boot_ec_is_ecdt;
181181
static struct workqueue_struct *ec_wq;
182182
static struct workqueue_struct *ec_query_wq;
183183

0 commit comments

Comments
 (0)