From: Mark Brown Date: Mon, 13 Oct 2008 14:45:23 +0000 (+0100) Subject: mfd: Fix warning in WM8350 X-Git-Tag: v2.6.28-rc1~577^2 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=caf1859199e4360ffa826179bc0e881b0348f3ce;p=linux-2.6-omap-h63xx.git mfd: Fix warning in WM8350 Signed-off-by: Mark Brown Acked-by: Samuel Ortiz Signed-off-by: Liam Girdwood --- diff --git a/drivers/mfd/wm8350-core.c b/drivers/mfd/wm8350-core.c index 382e38c6691..25a7a5d08bc 100644 --- a/drivers/mfd/wm8350-core.c +++ b/drivers/mfd/wm8350-core.c @@ -1161,7 +1161,6 @@ int wm8350_device_init(struct wm8350 *wm8350, int irq, { int ret = -EINVAL; u16 id1, id2, mask, mode; - int i; /* get WM8350 revision and config mode */ wm8350->read_dev(wm8350, WM8350_RESET_ID, sizeof(id1), &id1);