summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2023-03-17 07:36:43 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2023-03-24 11:22:29 +0100
commit9117e682b8b79f7b5e2517fd28d42757d3e8b860 (patch)
tree61c68f1d3a6570fa2315691d1e86ff22dd011807
parentcrypto: drivers - remove unnecessary (void*) conversions (diff)
downloadlinux-9117e682b8b79f7b5e2517fd28d42757d3e8b860.tar.xz
linux-9117e682b8b79f7b5e2517fd28d42757d3e8b860.zip
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>
-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;