diff options
Diffstat (limited to 'driver/tcpm/tcpci.c')
-rw-r--r-- | driver/tcpm/tcpci.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/driver/tcpm/tcpci.c b/driver/tcpm/tcpci.c index 607dc71063..3f40fb7d7c 100644 --- a/driver/tcpm/tcpci.c +++ b/driver/tcpm/tcpci.c @@ -148,7 +148,6 @@ int tcpci_tcpm_get_message(int port, uint32_t *payload, int *head) /* RX_BYTE_CNT includes 3 bytes for frame type and header */ if (rv != EC_SUCCESS || cnt < 3) { - *head = 0; rv = EC_ERROR_UNKNOWN; goto clear; } |