[alsa-devel] [PATCH] ASoC: atmel: ac97c: Remove unused variable
Fabio Estevam
festevam at gmail.com
Thu Apr 2 14:42:06 CEST 2015
From: Fabio Estevam <fabio.estevam at freescale.com>
Remove the unused 'match' variable to fix the following build warning:
sound/atmel/ac97c.c:919:29: warning: unused variable 'match' [-Wunused-variable]
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
sound/atmel/ac97c.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/atmel/ac97c.c b/sound/atmel/ac97c.c
index cf4cedf..6dad042 100644
--- a/sound/atmel/ac97c.c
+++ b/sound/atmel/ac97c.c
@@ -916,7 +916,6 @@ static struct ac97c_platform_data *atmel_ac97c_probe_dt(struct device *dev)
{
struct ac97c_platform_data *pdata;
struct device_node *node = dev->of_node;
- const struct of_device_id *match;
if (!node) {
dev_err(dev, "Device does not have associated DT data\n");
--
1.9.1
More information about the Alsa-devel
mailing list