Skip to content

Commit 60a3f73

Browse files
Tudor Ambarusherbertx
authored andcommitted
crypto: caam - remove unused variables in caam_drv_private
Signed-off-by: Tudor Ambarus <[email protected]> Signed-off-by: Horia Geantă <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent bcde1f7 commit 60a3f73

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

drivers/crypto/caam/ctrl.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -444,7 +444,6 @@ static int caam_probe(struct platform_device *pdev)
444444

445445
dev = &pdev->dev;
446446
dev_set_drvdata(dev, ctrlpriv);
447-
ctrlpriv->pdev = pdev;
448447
nprop = pdev->dev.of_node;
449448

450449
/* Enable clocking */

drivers/crypto/caam/intern.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,9 @@ struct caam_drv_private_jr {
6464
* Driver-private storage for a single CAAM block instance
6565
*/
6666
struct caam_drv_private {
67-
68-
struct device *dev;
6967
#ifdef CONFIG_CAAM_QI
7068
struct device *qidev;
7169
#endif
72-
struct platform_device *pdev;
7370

7471
/* Physical-presence section */
7572
struct caam_ctrl __iomem *ctrl; /* controller region */

0 commit comments

Comments
 (0)