[PATCH 1/1] mfd: Remove unused variable 'desc'

From: Luis Gonzalez Fernandez
Date: Wed Sep 05 2012 - 14:27:19 EST


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@xxxxxxxxx>
---
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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/