Make sure status variable is always initialized. Why didn't this show up in

my testing?  *grmbl*
This commit is contained in:
Philip Paeps 2005-03-21 18:11:50 +00:00
parent 00191f86e0
commit 4b0eb6a716

View File

@ -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);