linux-acpi.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ACPI: Remove unnecessary acpi_has_method() calls
@ 2019-07-22  2:35 Kelsey Skunberg
  2019-07-22  2:35 ` [PATCH 1/3] ACPI: Remove acpi_has_method() call from acpi_adxl.c Kelsey Skunberg
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Kelsey Skunberg @ 2019-07-22  2:35 UTC (permalink / raw)
  To: rjw, lenb, linux-acpi, linux-kernel
  Cc: skhan, linux-kernel-mentees, bjorn, skunberg.kelsey

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


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2019-09-05  4:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-22  2:35 [PATCH 0/3] ACPI: Remove unnecessary acpi_has_method() calls Kelsey Skunberg
2019-07-22  2:35 ` [PATCH 1/3] ACPI: Remove acpi_has_method() call from acpi_adxl.c Kelsey Skunberg
2019-07-22  8:31   ` Rafael J. Wysocki
2019-07-22 18:29     ` Bjorn Helgaas
2019-09-02 21:08       ` Rafael J. Wysocki
2019-09-05  4:11         ` Kelsey Skunberg
2019-07-22  2:35 ` [PATCH 2/3] ACPI: Remove acpi_has_method() call from scan.c Kelsey Skunberg
2019-07-22  8:29   ` Rafael J. Wysocki
2019-07-22  2:35 ` [PATCH 3/3] ACPI: Remove acpi_has_method() calls from thermal.c Kelsey Skunberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).