All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Horia Geantă" <horia.geanta@nxp.com>
To: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>,
	<linux-crypto@vger.kernel.org>,
	Dan Douglass <dan.douglass@nxp.com>,
	Tudor Ambarus <tudor.ambarus@microchip.com>
Subject: [PATCH v2 11/13] crypto: caam - remove unused variables in caam_drv_private
Date: Mon, 10 Jul 2017 08:40:37 +0300	[thread overview]
Message-ID: <20170710054039.21555-12-horia.geanta@nxp.com> (raw)
In-Reply-To: <20170710054039.21555-1-horia.geanta@nxp.com>

From: Tudor Ambarus <tudor-dan.ambarus@nxp.com>

Signed-off-by: Tudor Ambarus <tudor-dan.ambarus@nxp.com>
Signed-off-by: Horia Geantă <horia.geanta@nxp.com>
---
 drivers/crypto/caam/ctrl.c   | 1 -
 drivers/crypto/caam/intern.h | 3 ---
 2 files changed, 4 deletions(-)

diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index dd353e342c12..7338f15b8674 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -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 */
diff --git a/drivers/crypto/caam/intern.h b/drivers/crypto/caam/intern.h
index 85b6c5835b8f..9e3f3e0a7ffa 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 */
-- 
2.12.0.264.gd6db3f216544

  parent reply	other threads:[~2017-07-10  5:41 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-07 13:05 [PATCH 00/13] crypto: caam - fixes, clean-up Horia Geantă
2017-07-07 13:05 ` [PATCH 01/13] crypto: caam/qi - fix typo in authenc alg driver name Horia Geantă
2017-07-07 13:05 ` [PATCH 02/13] crypto: caam/qi - fix compilation with DEBUG enabled Horia Geantă
2017-07-07 13:05 ` [PATCH 03/13] crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y Horia Geantă
2017-07-07 13:05 ` [PATCH 04/13] crypto: caam/qi - properly set IV after {en,de}crypt Horia Geantă
2017-07-07 13:05 ` [PATCH 05/13] crypto: caam/qi - handle large number of S/Gs case Horia Geantă
2017-07-10  5:23   ` Horia Geantă
2017-07-07 13:05 ` [PATCH 06/13] crypto: caam/qi - fix AD length endianness in S/G entry Horia Geantă
2017-07-07 13:05 ` [PATCH 07/13] crypto: caam/qi - explicitly set dma_ops Horia Geantă
2017-07-07 13:05 ` [PATCH 08/13] crypto: caam/qi - remove unused header sg_sw_sec4.h Horia Geantă
2017-07-07 13:05 ` [PATCH 09/13] crypto: caam/qi - lower driver verbosity Horia Geantă
2017-07-07 13:05 ` [PATCH 10/13] crypto: caam - remove unused sg_to_sec4_sg_len() Horia Geantă
2017-07-07 13:05 ` [PATCH 11/13] crypto: caam - remove unused variables in caam_drv_private Horia Geantă
2017-07-07 13:05 ` [PATCH 12/13] crypto: caam - clean-up in caam_init_rng() Horia Geantă
2017-07-07 13:16   ` Horia Geantă
2017-07-07 13:05 ` [PATCH 13/13] crypto: caam - fix condition for the jump over key(s) command Horia Geantă
2017-07-10  5:40 ` [PATCH v2 00/13] crypto: caam - fixes, clean-up Horia Geantă
2017-07-10  5:40   ` [PATCH v2 01/13] crypto: caam/qi - fix typo in authenc alg driver name Horia Geantă
2017-07-10  5:40   ` [PATCH v2 02/13] crypto: caam/qi - fix compilation with DEBUG enabled Horia Geantă
2017-07-10  5:40   ` [PATCH v2 03/13] crypto: caam/qi - fix compilation with CONFIG_DEBUG_FORCE_WEAK_PER_CPU=y Horia Geantă
2017-07-10  5:40   ` [PATCH v2 04/13] crypto: caam/qi - properly set IV after {en,de}crypt Horia Geantă
2017-07-10  5:40   ` [PATCH v2 05/13] crypto: caam/qi - handle large number of S/Gs case Horia Geantă
2017-07-10  5:40   ` [PATCH v2 06/13] crypto: caam/qi - fix AD length endianness in S/G entry Horia Geantă
2017-07-10  5:40   ` [PATCH v2 07/13] crypto: caam/qi - explicitly set dma_ops Horia Geantă
2017-07-10  5:40   ` [PATCH v2 08/13] crypto: caam/qi - remove unused header sg_sw_sec4.h Horia Geantă
2017-07-10  5:40   ` [PATCH v2 09/13] crypto: caam/qi - lower driver verbosity Horia Geantă
2017-07-10  5:40   ` [PATCH v2 10/13] crypto: caam - remove unused sg_to_sec4_sg_len() Horia Geantă
2017-07-10  5:40   ` Horia Geantă [this message]
2017-07-10  5:40   ` [PATCH v2 12/13] crypto: caam - clean-up in caam_init_rng() Horia Geantă
2017-07-10  5:40   ` [PATCH v2 13/13] crypto: caam - fix condition for the jump over key(s) command Horia Geantă
2017-07-18 10:39   ` [PATCH v2 00/13] crypto: caam - fixes, clean-up Herbert Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170710054039.21555-12-horia.geanta@nxp.com \
    --to=horia.geanta@nxp.com \
    --cc=dan.douglass@nxp.com \
    --cc=davem@davemloft.net \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=tudor.ambarus@microchip.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.