summaryrefslogtreecommitdiff
path: root/board/cr50/tpm2/hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/cr50/tpm2/hash.c')
-rw-r--r--board/cr50/tpm2/hash.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/board/cr50/tpm2/hash.c b/board/cr50/tpm2/hash.c
index 157100fd96..de4116052b 100644
--- a/board/cr50/tpm2/hash.c
+++ b/board/cr50/tpm2/hash.c
@@ -352,8 +352,6 @@ static void hash_command_handler(void *cmd_body,
break;
case 3: /* Process a buffer in a single shot. */
- if (!text_len)
- break;
/*
* Error responses are just 1 byte in size, valid responses
* are of various hash sizes.