summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/apollolake/acpi.c2
-rw-r--r--src/soc/intel/common/block/pcie/rtd3/rtd3.c1
2 files changed, 0 insertions, 3 deletions
diff --git a/src/soc/intel/apollolake/acpi.c b/src/soc/intel/apollolake/acpi.c
index 219ea95f4a..34f760ff42 100644
--- a/src/soc/intel/apollolake/acpi.c
+++ b/src/soc/intel/apollolake/acpi.c
@@ -255,8 +255,6 @@ static int acpigen_soc_get_gpio_val(unsigned int gpio_num, uint32_t mask)
/* Store (One, Local0) */
acpigen_write_store_ops(ONE_OP, LOCAL0_OP);
- acpigen_pop_len(); /* If */
-
/* Else */
acpigen_write_else();
diff --git a/src/soc/intel/common/block/pcie/rtd3/rtd3.c b/src/soc/intel/common/block/pcie/rtd3/rtd3.c
index be412e7967..5a04333499 100644
--- a/src/soc/intel/common/block/pcie/rtd3/rtd3.c
+++ b/src/soc/intel/common/block/pcie/rtd3/rtd3.c
@@ -158,7 +158,6 @@ pcie_rtd3_acpi_method_status(int pcie_rp,
acpigen_write_if_lequal_op_op(LOCAL0_OP, LOCAL1_OP);
acpigen_write_return_op(ZERO_OP);
- acpigen_pop_len(); /* If */
acpigen_write_else();
acpigen_write_return_op(ONE_OP);
acpigen_pop_len(); /* Else */