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 8ae3ba2a160d5e1e08269a5d960b15d3dd0c732d..c5f61c55d923f04e6ef1e701555ddf760a1bb6f5 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;