Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Tudor Ambarus and committed by
Herbert Xu
60a3f737 bcde1f78

-4
-1
drivers/crypto/caam/ctrl.c
··· 444 444 445 445 dev = &pdev->dev; 446 446 dev_set_drvdata(dev, ctrlpriv); 447 - ctrlpriv->pdev = pdev; 448 447 nprop = pdev->dev.of_node; 449 448 450 449 /* Enable clocking */
-3
drivers/crypto/caam/intern.h
··· 64 64 * Driver-private storage for a single CAAM block instance 65 65 */ 66 66 struct caam_drv_private { 67 - 68 - struct device *dev; 69 67 #ifdef CONFIG_CAAM_QI 70 68 struct device *qidev; 71 69 #endif 72 - struct platform_device *pdev; 73 70 74 71 /* Physical-presence section */ 75 72 struct caam_ctrl __iomem *ctrl; /* controller region */