summaryrefslogtreecommitdiff
path: root/src/soc/intel/common/block
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2019-06-09 13:31:36 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-06-21 08:33:35 +0000
commit283b438f5ceaa88eb4860a5e1438b03c875bdf03 (patch)
tree8030f794a2e6f76e128f6a75630fc14dc86bb8c6 /src/soc/intel/common/block
parentc166071beb95f8bcef65284b73e0a431a53e9033 (diff)
downloadcoreboot-283b438f5ceaa88eb4860a5e1438b03c875bdf03.tar.xz
soc/intel/common/block/pcr: Remove unneded 'else'
'else' is not needed after a 'break' or 'return'. Change-Id: Ib3371ef6edb85a47ed734dd2ff9ce94008aa4e65 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/33336 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Reviewed-by: Vlado Cibic Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/soc/intel/common/block')
-rw-r--r--src/soc/intel/common/block/pcr/pcr.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/soc/intel/common/block/pcr/pcr.c b/src/soc/intel/common/block/pcr/pcr.c
index 4a35a03ff1..f3971c238f 100644
--- a/src/soc/intel/common/block/pcr/pcr.c
+++ b/src/soc/intel/common/block/pcr/pcr.c
@@ -394,10 +394,9 @@ int pcr_execute_sideband_msg(struct pcr_sbi_msg *msg, uint32_t *data,
break;
}
return 0;
- } else {
- printk(BIOS_ERR, "SBI Failure: Transaction Status = %x\n",
- *response);
- return -1;
}
+ printk(BIOS_ERR, "SBI Failure: Transaction Status = %x\n",
+ *response);
+ return -1;
}
#endif