From 31402178c56108e752b95c34562b6e3554a2c1d8 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 23 Mar 2024 15:10:04 +0100 Subject: tree: Remove blank lines before '}' and after '{' Change-Id: I46a362270f69d0a4a28e5bb9c954f34d632815ff Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/81455 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons --- src/drivers/i2c/tpm/cr50.c | 1 - src/drivers/i2c/tpm/tpm.c | 1 - 2 files changed, 2 deletions(-) (limited to 'src/drivers/i2c/tpm') diff --git a/src/drivers/i2c/tpm/cr50.c b/src/drivers/i2c/tpm/cr50.c index b58fbc8a67..5973d337d0 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 eb279844e8..71582c9792 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; -- cgit v1.2.3