[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1346869628-21531-1-git-send-email-luisgf@gmail.com>
Date: Wed, 5 Sep 2012 20:27:08 +0200
From: Luis Gonzalez Fernandez <luisgf@...il.com>
To: sameo@...ux.intel.com, linux-kernel@...r.kernel.org
Cc: Luis Gonzalez Fernandez <luisgf@...il.com>
Subject: [PATCH 1/1] mfd: Remove unused variable 'desc'
Remove unused variable 'desc' in da9052_device_init() function that
throws warnings during compilation.
./linux-3.6/drivers/mfd/da9052-core.c: In function ‘da9052_device_init’:
./linux-3.6/drivers/mfd/da9052-core.c:775:19: warning: unused variable ‘desc’ [-Wunused-variable]
Signed-off-by: Luis Gonzalez Fernandez <luisgf@...il.com>
---
drivers/mfd/da9052-core.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c
index 1f1313c..2544910 100644
--- a/drivers/mfd/da9052-core.c
+++ b/drivers/mfd/da9052-core.c
@@ -772,7 +772,6 @@ EXPORT_SYMBOL_GPL(da9052_regmap_config);
int __devinit da9052_device_init(struct da9052 *da9052, u8 chip_id)
{
struct da9052_pdata *pdata = da9052->dev->platform_data;
- struct irq_desc *desc;
int ret;
mutex_init(&da9052->auxadc_lock);
--
1.7.9.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists