diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2022-02-02 18:56:46 +0100 |
---|---|---|
committer | Felix Singer <felixsinger@posteo.net> | 2022-07-17 18:45:23 +0000 |
commit | 55be012ffdc79a259c6c180e58a6e24c744119f7 (patch) | |
tree | 94161b4e0a232b3d73f5c07340079d8ecdcda613 /src/drivers/crb/tpm.c | |
parent | 8765c09a630e4df6d01ae460149921b03fe4f73b (diff) |
drivers: Get rid of unnecessary blank lines {before,after} brace
Change-Id: Ic1b38e93d919c1286a8d130700a4a2bfd6b55258
Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/61557
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/drivers/crb/tpm.c')
-rw-r--r-- | src/drivers/crb/tpm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/drivers/crb/tpm.c b/src/drivers/crb/tpm.c index 9c8f2498dc..1bdca0039f 100644 --- a/src/drivers/crb/tpm.c +++ b/src/drivers/crb/tpm.c @@ -110,7 +110,6 @@ static int crb_probe(void) */ static uint8_t crb_activate_locality(void) { - uint8_t locality = (read8(CRB_REG(0, CRB_REG_LOC_STATE)) >> 2) & 0x07; printk(BIOS_SPEW, "Active locality: %i\n", locality); @@ -174,7 +173,6 @@ static int crb_switch_to_ready(void) */ int tpm2_init(void) { - if (crb_probe()) { printk(BIOS_ERR, "TPM: Probe failed.\n"); return -1; |