summaryrefslogtreecommitdiff
path: root/chip/lm4/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/lm4/lpc.c')
-rw-r--r--chip/lm4/lpc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/chip/lm4/lpc.c b/chip/lm4/lpc.c
index 7712d13cd4..c3cc908ed7 100644
--- a/chip/lm4/lpc.c
+++ b/chip/lm4/lpc.c
@@ -204,8 +204,6 @@ static void lpc_send_response(struct host_cmd_handler_args *args)
/* Fail if response doesn't fit in the param buffer */
if (size > EC_PROTO2_MAX_PARAM_SIZE)
args->result = EC_RES_INVALID_RESPONSE;
- else if (host_cmd_args.response != cmd_params)
- memcpy(cmd_params, args->response, size);
/*
* Write result to the data byte. This sets the TOH bit in the