Commit 60a3f737 authored by Tudor Ambarus's avatar Tudor Ambarus Committed by Herbert Xu

crypto: caam - remove unused variables in caam_drv_private

Signed-off-by: default avatarTudor Ambarus <tudor-dan.ambarus@nxp.com>
Signed-off-by: default avatarHoria Geantă <horia.geanta@nxp.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent bcde1f78
...@@ -444,7 +444,6 @@ static int caam_probe(struct platform_device *pdev) ...@@ -444,7 +444,6 @@ static int caam_probe(struct platform_device *pdev)
dev = &pdev->dev; dev = &pdev->dev;
dev_set_drvdata(dev, ctrlpriv); dev_set_drvdata(dev, ctrlpriv);
ctrlpriv->pdev = pdev;
nprop = pdev->dev.of_node; nprop = pdev->dev.of_node;
/* Enable clocking */ /* Enable clocking */
......
...@@ -64,12 +64,9 @@ struct caam_drv_private_jr { ...@@ -64,12 +64,9 @@ struct caam_drv_private_jr {
* Driver-private storage for a single CAAM block instance * Driver-private storage for a single CAAM block instance
*/ */
struct caam_drv_private { struct caam_drv_private {
struct device *dev;
#ifdef CONFIG_CAAM_QI #ifdef CONFIG_CAAM_QI
struct device *qidev; struct device *qidev;
#endif #endif
struct platform_device *pdev;
/* Physical-presence section */ /* Physical-presence section */
struct caam_ctrl __iomem *ctrl; /* controller region */ struct caam_ctrl __iomem *ctrl; /* controller region */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment