summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Kitching <kitching@google.com>2018-11-16 14:33:07 +0800
committerPatrick Georgi <pgeorgi@google.com>2019-01-17 13:19:47 +0000
commitdc8fd37966880d6e396e9168f030540f72cdafab (patch)
tree7b3221f8a2e8c99801dbdcc946613b929e7ec184
parent60132a43a670276add0e3ea0e56511aabd2ce099 (diff)
tss/tcg-2.0: remove unnecessary break from marshaling code
BUG=None TEST=None Change-Id: I054e0799469bf39499666342a5c639b1f766cd85 Signed-off-by: Joel Kitching <kitching@google.com> Reviewed-on: https://review.coreboot.org/c/29652 Reviewed-by: Patrick Georgi <pgeorgi@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/security/tpm/tss/tcg-2.0/tss_marshaling.c1
1 files changed, 0 insertions, 1 deletions
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 d8b3097962..f1c5a375e2 100644
--- a/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
+++ b/src/security/tpm/tss/tcg-2.0/tss_marshaling.c
@@ -475,7 +475,6 @@ static int unmarshal_vendor_command(struct ibuf *ib,
break;
case TPM2_CR50_SUB_CMD_TURN_UPDATE_ON:
return ibuf_read_be8(ib, &vcr->num_restored_headers);
- break;
case TPM2_CR50_SUB_CMD_GET_REC_BTN:
return ibuf_read_be8(ib, &vcr->recovery_button_state);
default: