diff options
author | Tudor Ambarus <tudor-dan.ambarus@nxp.com> | 2017-07-10 05:40:37 (GMT) |
---|---|---|
committer | Xie Xiaobo <xiaobo.xie@nxp.com> | 2017-09-25 07:25:52 (GMT) |
commit | b89729193eff332e0b96694c689878a2625f8af4 (patch) | |
tree | 7f0fee18d14220dcbaed68c0a7ddf8c2e7beeb8d /drivers | |
parent | 4f2952920b33bcce632ee4f4b120f098b3153f16 (diff) | |
download | linux-b89729193eff332e0b96694c689878a2625f8af4.tar.xz |
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>
(cherry picked from commit 60a3f737badb0951dd27e93d24cb967dcc1fb855)
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/crypto/caam/ctrl.c | 1 | ||||
-rw-r--r-- | drivers/crypto/caam/intern.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c index 19d1996..1012b32 100644 --- a/drivers/crypto/caam/ctrl.c +++ b/drivers/crypto/caam/ctrl.c @@ -449,7 +449,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; caam_imx = (bool)soc_device_match(imx_soc); diff --git a/drivers/crypto/caam/intern.h b/drivers/crypto/caam/intern.h index 85b6c58..9e3f3e0 100644 --- a/drivers/crypto/caam/intern.h +++ b/drivers/crypto/caam/intern.h @@ -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 */ |