wm831x_backup: Remove unused variables

Signed-off-by: Alan Cox <[email protected]>
Acked-by: Mark Brown <[email protected]>
Signed-off-by: Anton Vorontsov <[email protected]>
This commit is contained in:
Alan Cox 2009-11-17 15:44:54 +00:00 • committed by Anton Vorontsov
commit 0e19dbb73e

View 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)