From ec730396cc7fdf5ce0f48fb5f1a9dba2ecac601e Mon Sep 17 00:00:00 2001 From: Vladimir Serbinenko Date: Mon, 8 Feb 2016 00:01:09 +0100 Subject: [PATCH] ASL: Remove unused local variables. Change-Id: Ifcbb6916b718d41fb9cda537ffdc3e652e13cbbf Signed-off-by: Vladimir Serbinenko Reviewed-on: https://review.coreboot.org/13620 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/amd/serengeti_cheetah/acpi/amd8111_pic.asl | 4 ---- .../amd/serengeti_cheetah_fam10/acpi/amd8111_pic.asl | 4 ---- src/mainboard/iwill/dk8_htx/acpi/amd8111_pic.asl | 4 ---- 3 files changed, 12 deletions(-) diff --git a/src/mainboard/amd/serengeti_cheetah/acpi/amd8111_pic.asl b/src/mainboard/amd/serengeti_cheetah/acpi/amd8111_pic.asl index de75582c1f..fd1df7d034 100644 --- a/src/mainboard/amd/serengeti_cheetah/acpi/amd8111_pic.asl +++ b/src/mainboard/amd/serengeti_cheetah/acpi/amd8111_pic.asl @@ -27,7 +27,6 @@ { Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIBA, 0x0F, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -115,7 +114,6 @@ Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIBA, 0xF0, Local1) ShiftRight (Local1, 0x04, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -204,7 +202,6 @@ { Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIDC, 0x0F, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -292,7 +289,6 @@ Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIDC, 0xF0, Local1) ShiftRight (Local1, 0x04, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) diff --git a/src/mainboard/amd/serengeti_cheetah_fam10/acpi/amd8111_pic.asl b/src/mainboard/amd/serengeti_cheetah_fam10/acpi/amd8111_pic.asl index beb93c7053..982fb39740 100644 --- a/src/mainboard/amd/serengeti_cheetah_fam10/acpi/amd8111_pic.asl +++ b/src/mainboard/amd/serengeti_cheetah_fam10/acpi/amd8111_pic.asl @@ -39,7 +39,6 @@ { Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIBA, 0x0F, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -127,7 +126,6 @@ Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIBA, 0xF0, Local1) ShiftRight (Local1, 0x04, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -216,7 +214,6 @@ { Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIDC, 0x0F, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -304,7 +301,6 @@ Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIDC, 0xF0, Local1) ShiftRight (Local1, 0x04, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) diff --git a/src/mainboard/iwill/dk8_htx/acpi/amd8111_pic.asl b/src/mainboard/iwill/dk8_htx/acpi/amd8111_pic.asl index de75582c1f..fd1df7d034 100644 --- a/src/mainboard/iwill/dk8_htx/acpi/amd8111_pic.asl +++ b/src/mainboard/iwill/dk8_htx/acpi/amd8111_pic.asl @@ -27,7 +27,6 @@ { Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIBA, 0x0F, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -115,7 +114,6 @@ Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIBA, 0xF0, Local1) ShiftRight (Local1, 0x04, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -204,7 +202,6 @@ { Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIDC, 0x0F, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1) @@ -292,7 +289,6 @@ Store (0x01, Local3) And (\_SB.PCI0.SBC3.PIDC, 0xF0, Local1) ShiftRight (Local1, 0x04, Local1) - Store (Local1, Local2) If (LGreater (Local1, 0x07)) { Subtract (Local1, 0x08, Local1)