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>
This commit is contained in:
parent
60132a43a6
commit
dc8fd37966
|
@ -475,7 +475,6 @@ static int unmarshal_vendor_command(struct ibuf *ib,
|
||||||
break;
|
break;
|
||||||
case TPM2_CR50_SUB_CMD_TURN_UPDATE_ON:
|
case TPM2_CR50_SUB_CMD_TURN_UPDATE_ON:
|
||||||
return ibuf_read_be8(ib, &vcr->num_restored_headers);
|
return ibuf_read_be8(ib, &vcr->num_restored_headers);
|
||||||
break;
|
|
||||||
case TPM2_CR50_SUB_CMD_GET_REC_BTN:
|
case TPM2_CR50_SUB_CMD_GET_REC_BTN:
|
||||||
return ibuf_read_be8(ib, &vcr->recovery_button_state);
|
return ibuf_read_be8(ib, &vcr->recovery_button_state);
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in New Issue