summaryrefslogtreecommitdiff
path: root/common/vboot_hash.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/vboot_hash.c')
-rw-r--r--common/vboot_hash.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/common/vboot_hash.c b/common/vboot_hash.c
index 49e3e4797b..6f944622da 100644
--- a/common/vboot_hash.c
+++ b/common/vboot_hash.c
@@ -261,10 +261,8 @@ static void fill_response(struct ec_response_vboot_hash *r)
static int host_command_vboot_hash(struct host_cmd_handler_args *args)
{
- const struct ec_params_vboot_hash *p =
- (const struct ec_params_vboot_hash *)args->params;
- struct ec_response_vboot_hash *r =
- (struct ec_response_vboot_hash *)args->response;
+ const struct ec_params_vboot_hash *p = args->params;
+ struct ec_response_vboot_hash *r = args->response;
int rv;
switch (p->cmd) {