summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2024-03-23 15:10:04 +0100
committerElyes Haouas <ehaouas@noos.fr>2024-04-11 19:19:08 +0000
commit31402178c56108e752b95c34562b6e3554a2c1d8 (patch)
tree0ac4a3cea23ce5c66cc91f2883d3b30184d0f565 /src/drivers
parent1dc8f0272bd222125d2d26cfa2b311f3d134f6ca (diff)
downloadcoreboot-31402178c56108e752b95c34562b6e3554a2c1d8.tar.gz
coreboot-31402178c56108e752b95c34562b6e3554a2c1d8.tar.bz2
coreboot-31402178c56108e752b95c34562b6e3554a2c1d8.zip
tree: Remove blank lines before '}' and after '{'
Change-Id: I46a362270f69d0a4a28e5bb9c954f34d632815ff Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/81455 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/efi/efivars.c2
-rw-r--r--src/drivers/i2c/ptn3460/chip.h1
-rw-r--r--src/drivers/i2c/tpm/cr50.c1
-rw-r--r--src/drivers/i2c/tpm/tpm.c1
-rw-r--r--src/drivers/intel/fsp1_1/hob.c1
-rw-r--r--src/drivers/smmstore/store.c1
6 files changed, 0 insertions, 7 deletions
diff --git a/src/drivers/efi/efivars.c b/src/drivers/efi/efivars.c
index e7eabf4f28aa..a7590702f86a 100644
--- a/src/drivers/efi/efivars.c
+++ b/src/drivers/efi/efivars.c
@@ -26,7 +26,6 @@ static void print_guid(int log_level, const EFI_GUID *g)
printk(log_level, "GUID: %08x-%04x-%04x-%02x%02x%02x%02x%02x%02x%02x%02x",
g->Data1, g->Data2, g->Data3, g->Data4[0], g->Data4[1], g->Data4[2],
g->Data4[3], g->Data4[4], g->Data4[5], g->Data4[6], g->Data4[7]);
-
}
static bool compare_guid(const EFI_GUID *a, const EFI_GUID *b)
@@ -164,7 +163,6 @@ static enum cb_err validate_fv_header(const struct region_device *rdev,
printk(BIOS_SPEW, PREFIX "UEFI FV with size %lld found\n", fw_vol_hdr->FvLength);
return CB_SUCCESS;
-
}
static enum cb_err
diff --git a/src/drivers/i2c/ptn3460/chip.h b/src/drivers/i2c/ptn3460/chip.h
index 0ec26ca8acbd..bcc8789bd8e0 100644
--- a/src/drivers/i2c/ptn3460/chip.h
+++ b/src/drivers/i2c/ptn3460/chip.h
@@ -4,7 +4,6 @@
#define __DRIVERS_I2C_PTN3460_CHIP_H__
struct drivers_i2c_ptn3460_config {
-
};
#endif /* __DRIVERS_I2C_PTN3460_CHIP_H__ */
diff --git a/src/drivers/i2c/tpm/cr50.c b/src/drivers/i2c/tpm/cr50.c
index b58fbc8a67c2..5973d337d0f0 100644
--- a/src/drivers/i2c/tpm/cr50.c
+++ b/src/drivers/i2c/tpm/cr50.c
@@ -446,7 +446,6 @@ static tpm_result_t cr50_i2c_probe(uint32_t *did_vid)
printk(BIOS_INFO, "Probing TPM I2C: ");
for (retries = 100; retries > 0; retries--) {
-
rc = cr50_i2c_read(TPM_DID_VID(0), (uint8_t *)did_vid, 4);
/* Exit once DID and VID verified */
diff --git a/src/drivers/i2c/tpm/tpm.c b/src/drivers/i2c/tpm/tpm.c
index eb279844e829..71582c97921f 100644
--- a/src/drivers/i2c/tpm/tpm.c
+++ b/src/drivers/i2c/tpm/tpm.c
@@ -117,7 +117,6 @@ static int iic_tpm_read(uint8_t addr, uint8_t *buffer, size_t len)
buffer, len);
if (rc == 0)
break; /* success, break to skip sleep */
-
}
break;
diff --git a/src/drivers/intel/fsp1_1/hob.c b/src/drivers/intel/fsp1_1/hob.c
index 7522df120ced..8b2d56a8050b 100644
--- a/src/drivers/intel/fsp1_1/hob.c
+++ b/src/drivers/intel/fsp1_1/hob.c
@@ -245,7 +245,6 @@ void print_hob_type_structure(u16 hob_type, void *hob_list_ptr)
printk(BIOS_DEBUG, "%p: hob_list_ptr\n", hob_list_ptr);
for (current_hob = hob_list_ptr; !END_OF_HOB_LIST(current_hob);
current_hob = GET_NEXT_HOB(current_hob)) {
-
EFI_HOB_GENERIC_HEADER *current_header_ptr =
(EFI_HOB_GENERIC_HEADER *)current_hob;
diff --git a/src/drivers/smmstore/store.c b/src/drivers/smmstore/store.c
index fd9cdf596ff7..f1e07e41dd74 100644
--- a/src/drivers/smmstore/store.c
+++ b/src/drivers/smmstore/store.c
@@ -97,7 +97,6 @@ int smmstore_lookup_region(struct region_device *rstore)
static struct region_device rdev;
if (!done) {
-
done = 1;
if (fmap_locate_area_as_rdev_rw(SMMSTORE_REGION, &rdev)) {