crypto: qat - remove an unneeded cast
authorDan Carpenter <dan.carpenter@oracle.com>
Tue, 8 Jul 2014 10:59:07 +0000 (13:59 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 10 Jul 2014 08:50:36 +0000 (16:50 +0800)
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>
drivers/crypto/qat/qat_common/qat_hal.c

index 903ca88109f772ff6a3ad7f1998039d4388b860f..28da876ee26841820bfb81ee1e7aa9b7b897c0a3 100644 (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 */