Skip to content

Commit

Permalink
crypto: caam - remove unused variables in caam_drv_private
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tudor Ambarus authored and Herbert Xu committed Jul 18, 2017
1 parent bcde1f7 commit 60a3f73
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion drivers/crypto/caam/ctrl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down
3 changes: 0 additions & 3 deletions drivers/crypto/caam/intern.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit 60a3f73

Please sign in to comment.