crypto: caam - fix gcc 4.6 warning
authorKim Phillips <kim.phillips@freescale.com>
Thu, 19 Jan 2012 00:34:34 +0000 (18:34 -0600)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 26 Jan 2012 02:36:59 +0000 (13:36 +1100)
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>
drivers/crypto/caam/ctrl.c

index 8ae3ba2..c5f61c5 100644 (file)
@@ -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;