lkml.org 
[lkml]   [2019]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] ACPI: Remove unnecessary acpi_has_method() calls
Date
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

\
 
 \ /
  Last update: 2019-07-22 04:37    [W:0.085 / U:0.680 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site