[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1337790648-5483-1-git-send-email-krzysztof.wilczynski@linux.com>
Date: Wed, 23 May 2012 17:30:48 +0100
From: Krzysztof Wilczynski <krzysztof.wilczynski@...ux.com>
To: Samuel Ortiz <sameo@...ux.intel.com>
Cc: trivial@...nel.org, linux-kernel@...r.kernel.org
Subject: [PATCH][TRIVIAL] mfd: Remove unused variable "desc" from function da9052_device_init.
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@...ux.com>
---
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@...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