]> xenbits.xensource.com Git - seabios.git/commitdiff
ACPI: Remove unnecessary Return(One) calls from q35 DSDT.
authorKevin O'Connor <kevin@koconnor.net>
Sun, 2 Dec 2012 06:15:03 +0000 (01:15 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sun, 2 Dec 2012 08:08:55 +0000 (03:08 -0500)
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@koconnor.net>
src/q35-acpi-dsdt.dsl

index baa463ffd7dd7bd4cae5c31b69dcea74030fd209..6257ac40c72f818cbc6b25d508e48388d8470484 100644 (file)
@@ -383,53 +383,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)
         }
     }
 }