Re: [PATCH 2/3] ACPI: Remove acpi_has_method() call from scan.c

2019-07-22 Thread Rafael J. Wysocki
On Mon, Jul 22, 2019 at 4:36 AM Kelsey Skunberg wrote: > > acpi_evaluate_reference() will return an error if the DEP method > does not exist. Checking if the DEP method exists before the > acpi_evaluate_reference() call is not needed. Remove acpi_has_method() > call to avoid additional work. > > S

[PATCH 2/3] ACPI: Remove acpi_has_method() call from scan.c

2019-07-21 Thread Kelsey Skunberg
acpi_evaluate_reference() will return an error if the DEP method does not exist. Checking if the DEP method exists before the acpi_evaluate_reference() call is not needed. Remove acpi_has_method() call to avoid additional work. Signed-off-by: Kelsey Skunberg --- drivers/acpi/scan.c | 3 --- 1 fi