Skip to contentSkip to conversation

ASoC: atmel: ac97c: Remove unused variable

PATCH New Fabio Estevam 1 participant 1 message Apr 2, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: atmel: ac97c: Remove unused variable

From: Fabio Estevam <[email protected]>

Remove the unused 'match' variable to fix the following build warning:

sound/atmel/ac97c.c:919:29: warning: unused variable 'match' [-Wunused-variable]

---
 sound/atmel/ac97c.c | 1 -
 1 file changed, 1 deletion(-)
sound/atmel/ac97c.c +0 -1
index cf4cedf..6dad042 100644
@@ -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");
Signature · 1 line
1.9.1