summaryrefslogtreecommitdiff
path: root/drivers/crypto/caam
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2023-03-17 09:36:43 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2023-03-24 13:22:29 +0300
commit9117e682b8b79f7b5e2517fd28d42757d3e8b860 (patch)
tree61c68f1d3a6570fa2315691d1e86ff22dd011807 /drivers/crypto/caam
parentaedf818b1f196558390916778f56f286698de3dd (diff)
downloadlinux-9117e682b8b79f7b5e2517fd28d42757d3e8b860.tar.xz
crypto: caam - remove unnecessary (void*) conversions
Pointer variables of void * type do not require type cast. Signed-off-by: Yu Zhe <yuzhe@nfschina.com> Reviewed-by: Gaurav Jain <Gaurav.jain@nxp.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/caam')
-rw-r--r--drivers/crypto/caam/dpseci-debugfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/dpseci-debugfs.c b/drivers/crypto/caam/dpseci-debugfs.c
index 0eca8c2fd916..020a9d8a8a07 100644
--- a/drivers/crypto/caam/dpseci-debugfs.c
+++ b/drivers/crypto/caam/dpseci-debugfs.c
@@ -8,7 +8,7 @@
static int dpseci_dbg_fqs_show(struct seq_file *file, void *offset)
{
- struct dpaa2_caam_priv *priv = (struct dpaa2_caam_priv *)file->private;
+ struct dpaa2_caam_priv *priv = file->private;
u32 fqid, fcnt, bcnt;
int i, err;