[PATCH] wm831x-backup: Remove unused variables

From: Alan Cox
Date: Tue Nov 17 2009 - 11:01:18 EST


Signed-off-by: Alan Cox <alan@xxxxxxxxxxxxxxx>
---

drivers/power/wm831x_backup.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/drivers/power/wm831x_backup.c b/drivers/power/wm831x_backup.c
index f181076..bf4f387 100644
--- a/drivers/power/wm831x_backup.c
+++ b/drivers/power/wm831x_backup.c
@@ -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)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/