aboutsummaryrefslogtreecommitdiff
path: root/drivers/misc/cros_ec_sandbox.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2021-07-05 16:32:50 -0600
committerSimon Glass <sjg@chromium.org>2021-07-21 10:27:34 -0600
commit1e465eb6698e294e8fa9ed41165483b88062396a (patch)
tree27a4c158a897bb8b572b07434e2b6296728752e0 /drivers/misc/cros_ec_sandbox.c
parent201efb2bb0f7c4ae5f08f51b6f6b7cdfdba5b4f4 (diff)
cros_ec: Drop cros_ec_entering_mode()
This function is not needed anymore. Drop it. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/misc/cros_ec_sandbox.c')
-rw-r--r--drivers/misc/cros_ec_sandbox.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/misc/cros_ec_sandbox.c b/drivers/misc/cros_ec_sandbox.c
index beea47caa3..ab91f3fa67 100644
--- a/drivers/misc/cros_ec_sandbox.c
+++ b/drivers/misc/cros_ec_sandbox.c
@@ -496,9 +496,6 @@ static int process_cmd(struct ec_state *ec,
case EC_CMD_MKBP_STATE:
len = cros_ec_keyscan(ec, resp_data);
break;
- case EC_CMD_ENTERING_MODE:
- len = 0;
- break;
case EC_CMD_GET_NEXT_EVENT: {
struct ec_response_get_next_event *resp = resp_data;