summaryrefslogtreecommitdiff
path: root/common/lightbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/lightbar.c')
-rw-r--r--common/lightbar.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/common/lightbar.c b/common/lightbar.c
index 9d2658ea7b..3b5f33279c 100644
--- a/common/lightbar.c
+++ b/common/lightbar.c
@@ -956,8 +956,7 @@ static void do_cmd_rgb(uint8_t led,
static int lpc_cmd_lightbar(struct host_cmd_handler_args *args)
{
- struct ec_params_lightbar_cmd *ptr =
- (struct ec_params_lightbar_cmd *)args->response;
+ struct ec_params_lightbar_cmd *ptr = args->response;
/*
* TODO: (crosbug.com/p/11277) Now that params and response are