Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a9c3076

Browse files
committedFeb 1, 2019
ACPI: EC: Declare boot_ec as static
The boot_ec variable is not used outside of the file it is defined in, so declare it as static. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
1 parent fdb3c17 commit a9c3076

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎drivers/acpi/ec.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,10 @@ static void advance_transaction(struct acpi_ec *ec);
186186
static void acpi_ec_event_handler(struct work_struct *work);
187187
static void acpi_ec_event_processor(struct work_struct *work);
188188

189-
struct acpi_ec *boot_ec, *first_ec;
189+
struct acpi_ec *first_ec;
190190
EXPORT_SYMBOL(first_ec);
191+
192+
static struct acpi_ec *boot_ec;
191193
static bool boot_ec_is_ecdt = false;
192194
static struct workqueue_struct *ec_query_wq;
193195

0 commit comments

Comments
 (0)
Failed to load comments.