Remove unnecessary locking from attach(). This fixes a LOR between the
acpi_ibm lock and the sysctl lock. MFC after: 3 days
This commit is contained in:
parent
3614d05785
commit
5744bc1d8c
@ -356,8 +356,6 @@ acpi_ibm_attach(device_t dev)
|
||||
}
|
||||
sc->ec_handle = acpi_get_handle(sc->ec_dev);
|
||||
|
||||
ACPI_SERIAL_BEGIN(ibm);
|
||||
|
||||
/* Get the sysctl tree */
|
||||
sc->sysctl_ctx = device_get_sysctl_ctx(dev);
|
||||
sc->sysctl_tree = device_get_sysctl_tree(dev);
|
||||
@ -404,8 +402,6 @@ acpi_ibm_attach(device_t dev)
|
||||
"Thermal zones");
|
||||
}
|
||||
|
||||
ACPI_SERIAL_END(ibm);
|
||||
|
||||
/* Handle notifies */
|
||||
AcpiInstallNotifyHandler(sc->handle, ACPI_DEVICE_NOTIFY,
|
||||
acpi_ibm_notify, dev);
|
||||
|
Loading…
Reference in New Issue
Block a user