Recent iasl compilers warn about spurious return calls. Remove extra
return calls from the GPE event methods. This is the q35 dsdt
equivalent of patch 475ce3f5f6a986877d637ac39f6ee23484ecc992.
Signed-off-by: Kevin O'Connor <kevin(a)koconnor.net>
---
src/q35-acpi-dsdt.dsl | 15 ---------------
1 file changed, 15 deletions(-)
diff --git a/src/q35-acpi-dsdt.dsl b/src/q35-acpi-dsdt.dsl
index cb70678..22b6d6b 100644
--- a/src/q35-acpi-dsdt.dsl
+++ b/src/q35-acpi-dsdt.dsl
@@ -384,53 +384,38 @@ DefinitionBlock (
Name(_HID, "ACPI0006")
Method(_L00) {
- Return (0x01)
}
Method(_L01) {
// CPU hotplug event
\_SB.PRSC()
}
Method(_L02) {
- Return (0x01)
}
Method(_L03) {
- Return (0x01)
}
Method(_L04) {
- Return (0x01)
}
Method(_L05) {
- Return (0x01)
}
Method(_L06) {
- Return (0x01)
}
Method(_L07) {
- Return (0x01)
}
Method(_L08) {
- Return (0x01)
}
Method(_L09) {
- Return (0x01)
}
Method(_L0A) {
- Return (0x01)
}
Method(_L0B) {
- Return (0x01)
}
Method(_L0C) {
- Return (0x01)
}
Method(_L0D) {
- Return (0x01)
}
Method(_L0E) {
- Return (0x01)
}
Method(_L0F) {
- Return (0x01)
}
}
}
--
1.7.11.7