* [PATCH 1/1] mfd: Remove unused variable 'desc'
@ 2012-09-05 18:27 Luis Gonzalez Fernandez
0 siblings, 0 replies; only message in thread
From: Luis Gonzalez Fernandez @ 2012-09-05 18:27 UTC (permalink / raw)
To: sameo, linux-kernel; +Cc: Luis Gonzalez Fernandez
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
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2012-09-05 18:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-05 18:27 [PATCH 1/1] mfd: Remove unused variable 'desc' Luis Gonzalez Fernandez
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®