Messages in this thread Patch in this message | | | From | Luis Gonzalez Fernandez <> | Subject | [PATCH 1/1] mfd: Remove unused variable 'desc' | Date | Wed, 5 Sep 2012 20:27:08 +0200 |
| |
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@gmail.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |