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
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
2 matches
Mail list logo