[Linux-kernel-mentees] [PATCH 0/3] ACPI: Remove unnecessary acpi_has_method() calls

Kelsey Skunberg skunberg.kelsey at gmail.com
Mon Jul 22 02:35:27 UTC 2019


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



More information about the Linux-kernel-mentees mailing list