summaryrefslogtreecommitdiff
path: root/drivers/crypto/qat
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2014-07-08 14:59:07 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-07-10 12:50:36 +0400
commitac1a2b49ea3dff611d820043a0c597db3867bee0 (patch)
treef92427c0dbf7274e43a12e87f284e36f13d84a51 /drivers/crypto/qat
parent35af64038623865015d1786360cdbbcc2e72d78b (diff)
downloadlinux-ac1a2b49ea3dff611d820043a0c597db3867bee0.tar.xz
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>
Diffstat (limited to 'drivers/crypto/qat')
-rw-r--r--drivers/crypto/qat/qat_common/qat_hal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/qat/qat_common/qat_hal.c b/drivers/crypto/qat/qat_common/qat_hal.c
index 903ca88109f7..28da876ee268 100644
--- a/drivers/crypto/qat/qat_common/qat_hal.c
+++ b/drivers/crypto/qat/qat_common/qat_hal.c
@@ -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 */