crypto: caam - remove unused variables in caam_drv_private

Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Tudor Ambarus 2017-07-10 08:40:37 +03:00 committed by Herbert Xu
parent bcde1f78ca
commit 60a3f737ba
2 changed files with 0 additions and 4 deletions

View File

@ -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 */

View File

@ -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 */