2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-15 16:53:54 +08:00

crypto: qat - remove an unneeded cast

The cast to (unsigned int *) doesn't hurt anything but it is pointless.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Dan Carpenter 2014-07-08 13:59:07 +03:00 committed by Herbert Xu
parent 35af640386
commit ac1a2b49ea

View File

@ -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) {
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;
}
/* save current context */