[PATCH][TRIVIAL] mfd: Remove unused variable "desc" from function da9052_device_init.

From: Krzysztof Wilczynski
Date: Wed May 23 2012 - 12:30:52 EST


This is to address the following warning during compilation time:

drivers/mfd/da9052-core.c: In function âda9052_device_initâ:
drivers/mfd/da9052-core.c:646: warning: unused variable âdescâ

This variable is indeed no longer in use (change can be traced back
to commit: 8614419451d88bf99fff7f5e468fe45f8450891e).

Signed-off-by: Krzysztof Wilczynski <krzysztof.wilczynski@xxxxxxxxx>
---
drivers/mfd/da9052-core.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/mfd/da9052-core.c b/drivers/mfd/da9052-core.c
index 7776aff..88c2c26 100644
--- a/drivers/mfd/da9052-core.c
+++ b/drivers/mfd/da9052-core.c
@@ -643,7 +643,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;

if (pdata && pdata->init != NULL)
--
1.7.2.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/