[Linux-kernel-mentees] [PATCH v3] drivers: net: xgene: Remove acpi_has_method() calls

David Miller davem at davemloft.net
Wed Jul 24 18:30:08 UTC 2019


From: Kelsey Skunberg <skunberg.kelsey at gmail.com>
Date: Wed, 24 Jul 2019 00:06:59 -0600

> acpi_evaluate_object will already return an error if the needed method
> does not exist. Remove unnecessary acpi_has_method() calls and check the
> returned acpi_status for failure instead.
> 
> Signed-off-by: Kelsey Skunberg <skunberg.kelsey at gmail.com>
> ---
> Changes in v2:
> 	- Fixed white space warnings and errors
> 
> Changes in v3:
> 	- Resolved build errors caused by missing bracket

Applied, will push out after build testing :)


More information about the Linux-kernel-mentees mailing list