crypto: caam - remove unused variables in caam_drv_private
authorTudor Ambarus <tudor-dan.ambarus@nxp.com>
Mon, 10 Jul 2017 05:40:37 +0000 (08:40 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jul 2017 10:16:06 +0000 (18:16 +0800)
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>
drivers/crypto/caam/ctrl.c
drivers/crypto/caam/intern.h

index dd353e342c12b2a61063f8243530c4c9ee104ff0..7338f15b867416c954c17ef56fc93c2a9c9422d8 100644 (file)
@@ -444,7 +444,6 @@ static int caam_probe(struct platform_device *pdev)
 
        dev = &pdev->dev;
        dev_set_drvdata(dev, ctrlpriv);
-       ctrlpriv->pdev = pdev;
        nprop = pdev->dev.of_node;
 
        /* Enable clocking */
index 85b6c5835b8f4ddce056b9efeb59d70162010c20..9e3f3e0a7ffa1541cc83b0729d1450aff7f11977 100644 (file)
@@ -64,12 +64,9 @@ struct caam_drv_private_jr {
  * Driver-private storage for a single CAAM block instance
  */
 struct caam_drv_private {
-
-       struct device *dev;
 #ifdef CONFIG_CAAM_QI
        struct device *qidev;
 #endif
-       struct platform_device *pdev;
 
        /* Physical-presence section */
        struct caam_ctrl __iomem *ctrl; /* controller region */