wm831x_backup: Remove unused variables
authorAlan Cox <alan@linux.intel.com>
Tue, 17 Nov 2009 15:44:54 +0000 (15:44 +0000)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Tue, 17 Nov 2009 16:16:38 +0000 (19:16 +0300)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/wm831x_backup.c

index f181076a40858355452dc25f5683973cec65f446..bf4f387a80098a33c1ed1186473d994e70271e7a 100644 (file)
@@ -164,7 +164,7 @@ static __devinit int wm831x_backup_probe(struct platform_device *pdev)
        struct wm831x *wm831x = dev_get_drvdata(pdev->dev.parent);
        struct wm831x_backup *devdata;
        struct power_supply *backup;
-       int ret, irq, i;
+       int ret;
 
        devdata = kzalloc(sizeof(struct wm831x_backup), GFP_KERNEL);
        if (devdata == NULL)