summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorKim Phillips <kim.phillips@freescale.com>2012-01-19 01:34:34 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2012-01-26 03:36:59 +0100
commit65a4a573b74f8f27e33a99c21a5a5d2fc4d82a1a (patch)
treea38b67221065e8e50caf34112da759593f2f4545 /drivers
parentcrypto: Add bulk algorithm registration interface (diff)
downloadlinux-65a4a573b74f8f27e33a99c21a5a5d2fc4d82a1a.tar.xz
linux-65a4a573b74f8f27e33a99c21a5a5d2fc4d82a1a.zip
crypto: caam - fix gcc 4.6 warning
drivers/crypto/caam/ctrl.c: In function 'caam_probe': drivers/crypto/caam/ctrl.c:49:6: warning: unused variable 'd' [-Wunused-variable] Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/crypto/caam/ctrl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/crypto/caam/ctrl.c b/drivers/crypto/caam/ctrl.c
index 8ae3ba2a160d..c5f61c55d923 100644
--- a/drivers/crypto/caam/ctrl.c
+++ b/drivers/crypto/caam/ctrl.c
@@ -46,7 +46,7 @@ static int caam_remove(struct platform_device *pdev)
/* Probe routine for CAAM top (controller) level */
static int caam_probe(struct platform_device *pdev)
{
- int d, ring, rspec;
+ int ring, rspec;
struct device *dev;
struct device_node *nprop, *np;
struct caam_ctrl __iomem *ctrl;