[coreboot-gerrit] Change in coreboot[master]: tss/tcg-2.0: remove unnecessary breaks from marshaling code

Joel Kitching (Code Review) gerrit at coreboot.org
Fri Nov 16 07:34:04 CET 2018


Joel Kitching has uploaded this change for review. ( https://review.coreboot.org/29652


Change subject: tss/tcg-2.0: remove unnecessary breaks from marshaling code
......................................................................

tss/tcg-2.0: remove unnecessary breaks from marshaling code

BUG=None
TEST=None

Change-Id: I054e0799469bf39499666342a5c639b1f766cd85
Signed-off-by: Joel Kitching <kitching at google.com>
---
M src/security/tpm/tss/tcg-2.0/tss_marshaling.c
1 file changed, 0 insertions(+), 2 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/52/29652/1

diff --git a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
index 83e1ad8..0707f52 100644
--- a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
+++ b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
@@ -476,10 +476,8 @@
 		break;
 	case TPM2_CR50_SUB_CMD_TURN_UPDATE_ON:
 		return ibuf_read_be8(ib, &vcr->num_restored_headers);
-		break;
 	case TPM2_CR50_SUB_CMD_TPM_MODE:
 		return ibuf_read_be8(ib, &vcr->tpm_mode);
-		break;
 	default:
 		printk(BIOS_ERR,
 		       "%s:%d - unsupported vendor command %#04x!\n",

-- 
To view, visit https://review.coreboot.org/29652
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I054e0799469bf39499666342a5c639b1f766cd85
Gerrit-Change-Number: 29652
Gerrit-PatchSet: 1
Gerrit-Owner: Joel Kitching <kitching at google.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20181116/e106a988/attachment.html>


More information about the coreboot-gerrit mailing list