summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorYu Zhe <yuzhe@nfschina.com>2023-03-17 14:36:43 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2023-03-24 18:22:29 +0800
commit9117e682b8b79f7b5e2517fd28d42757d3e8b860 (patch)
tree61c68f1d3a6570fa2315691d1e86ff22dd011807 /drivers
parentaedf818b1f196558390916778f56f286698de3dd (diff)
downloadlinux-stable-9117e682b8b79f7b5e2517fd28d42757d3e8b860.tar.gz
linux-stable-9117e682b8b79f7b5e2517fd28d42757d3e8b860.tar.bz2
linux-stable-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>
Diffstat (limited to 'drivers')
-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;