alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: atmel: ac97c: Remove unused variable
@ 2015-04-02 12:42 Fabio Estevam
  0 siblings, 0 replies; only message in thread
From: Fabio Estevam @ 2015-04-02 12:42 UTC (permalink / raw)
  To: tiwai; +Cc: alexanders83, Fabio Estevam, alsa-devel

From: Fabio Estevam <fabio.estevam@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@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

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-04-02 12:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-02 12:42 [PATCH] ASoC: atmel: ac97c: Remove unused variable Fabio Estevam

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).