diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-07-08 06:59:07 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-07-10 04:50:36 -0400 |
commit | ac1a2b49ea3dff611d820043a0c597db3867bee0 (patch) | |
tree | f92427c0dbf7274e43a12e87f284e36f13d84a51 /drivers/crypto/qat | |
parent | 35af64038623865015d1786360cdbbcc2e72d78b (diff) |
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.c | 2 |
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, | |||
850 | 850 | ||
851 | if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) { | 851 | if ((inst_num > handle->hal_handle->max_ustore) || !micro_inst) { |
852 | pr_err("QAT: invalid instructs inst_num=%d, micro_inst=0x%p\n ", | 852 | pr_err("QAT: invalid instructs inst_num=%d, micro_inst=0x%p\n ", |
853 | inst_num, (unsigned int *)micro_inst); | 853 | inst_num, micro_inst); |
854 | return -EINVAL; | 854 | return -EINVAL; |
855 | } | 855 | } |
856 | /* save current context */ | 856 | /* save current context */ |