Make sure status variable is always initialized. Why didn't this show up in
my testing? *grmbl*
This commit is contained in:
parent
00191f86e0
commit
4b0eb6a716
@ -549,7 +549,7 @@ acpi_asus_sysctl_get(struct acpi_asus_softc *sc, int method)
|
||||
static int
|
||||
acpi_asus_sysctl_set(struct acpi_asus_softc *sc, int method, int arg)
|
||||
{
|
||||
ACPI_STATUS status;
|
||||
ACPI_STATUS status = AE_OK;
|
||||
|
||||
ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__);
|
||||
ACPI_SERIAL_ASSERT(asus);
|
||||
|
Loading…
Reference in New Issue
Block a user