Commit ac1a2b49 authored by Dan Carpenter's avatar Dan Carpenter Committed by Herbert Xu

crypto: qat - remove an unneeded cast

The cast to (unsigned int *) doesn't hurt anything but it is pointless.
Signed-off-by: default avatarDan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 35af6403
...@@ -850,7 +850,7 @@ static int qat_hal_exec_micro_inst(struct icp_qat_fw_loader_handle *handle, ...@@ -850,7 +850,7 @@ static int qat_hal_exec_micro_inst(struct icp_qat_fw_loader_handle *handle,
if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) { if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) {
pr_err("QAT: invalid instructs inst_num=%d, micro_inst=0x%p\n ", pr_err("QAT: invalid instructs inst_num=%d, micro_inst=0x%p\n ",
inst_num, (unsigned int *)micro_inst); inst_num, micro_inst);
return -EINVAL; return -EINVAL;
} }
/* save current context */ /* save current context */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment