summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block/acpi
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-23 15:40:00 +0100
committerFelix Singer <service+coreboot-gerrit@felixsinger.de>2024-03-30 08:29:38 +0000
commitc0d3cf105254c0bbde5c57c8817f5263271fb0fe (patch)
treeb76d060dcb00f6696ded9e39bdc7a7808bcb1e72 /src/soc/intel/common/block/acpi
parent57351dd872746392175f5684b04ac9fb0a5d5538 (diff)
soc/intel: Remove blank lines before '}' and after '{'
Change-Id: I79b93b0ca446411e2a1feb65d00045e3be85ee8a Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81489 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Diffstat (limited to 'src/soc/intel/common/block/acpi')
-rw-r--r--src/soc/intel/common/block/acpi/acpi.c1
-rw-r--r--src/soc/intel/common/block/acpi/acpi_bert.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi.c b/src/soc/intel/common/block/acpi/acpi.c
index cd60416c44..1faf433113 100644
--- a/src/soc/intel/common/block/acpi/acpi.c
+++ b/src/soc/intel/common/block/acpi/acpi.c
@@ -273,7 +273,6 @@ void generate_p_state_entries(int core, int cores_per_package)
/* Generate the remaining entries */
for (ratio = ratio_min + ((num_entries - 1) * ratio_step);
ratio >= ratio_min; ratio -= ratio_step) {
-
/* Calculate power at this ratio */
power = common_calculate_power_ratio(power_max, ratio_max, ratio);
clock = (ratio * cpu_get_bus_clock()) / KHz;
diff --git a/src/soc/intel/common/block/acpi/acpi_bert.c b/src/soc/intel/common/block/acpi/acpi_bert.c
index 417dad3ac7..8c1bd34a02 100644
--- a/src/soc/intel/common/block/acpi/acpi_bert.c
+++ b/src/soc/intel/common/block/acpi/acpi_bert.c
@@ -54,7 +54,6 @@ static enum cb_err record_crashlog_into_bert(void **region, size_t *length)
bool multi_entry = false;
cl_node_t *cl_node = cl_list_head.next;
while (cl_node) {
-
if ((cl_node->size <= 0) || (!(cl_node->data))) {
cl_node = cl_node->next;
continue;