[Linux-kernel-mentees] [PATCH 0/3] ACPI: Remove unnecessary acpi_has_method() calls
From: Kelsey Skunberg <hidden>
Date: 2019-07-22 02:36:02
Also in:
linux-acpi, lkml
From: Kelsey Skunberg <hidden>
Date: 2019-07-22 02:36:02
Also in:
linux-acpi, lkml
Remove acpi_has_method() calls which return an error a following call will provide anyways. Removing the unnecessary acpi_has_method() calls help to clean up code and remove extra work. Kelsey Skunberg (3): ACPI: Remove acpi_has_method() call from acpi_adxl.c ACPI: Remove acpi_has_method() call from scan.c ACPI: Remove acpi_has_method() calls from thermal.c drivers/acpi/acpi_adxl.c | 5 ----- drivers/acpi/scan.c | 3 --- drivers/acpi/thermal.c | 11 +++-------- 3 files changed, 3 insertions(+), 16 deletions(-) -- 2.20.1