lkml.org 
[lkml]   [2012]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/1] mfd: Remove unused variable 'desc'
Date
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/

\
 
 \ /
  Last update: 2012-09-05 21:02    [W:0.031 / U:0.324 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site