All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Remove unused 'r' variable from dapm_connect_dai_link_widgets()
@ 2014-07-17  7:15 Lars-Peter Clausen
  2014-07-17 11:34 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Lars-Peter Clausen @ 2014-07-17  7:15 UTC (permalink / raw)
  To: Mark Brown, Liam Girdwood; +Cc: alsa-devel, Lars-Peter Clausen, Benoit Cousson

It was accidentally added in commit 44ba2641 ("ASoC: dapm: Add support for DAI
multicodec").

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
 sound/soc/soc-dapm.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/sound/soc/soc-dapm.c b/sound/soc/soc-dapm.c
index 9a047f3..8cb68a38 100644
--- a/sound/soc/soc-dapm.c
+++ b/sound/soc/soc-dapm.c
@@ -3399,11 +3399,8 @@ static void dapm_connect_dai_link_widgets(struct snd_soc_card *card,
 {
 	struct snd_soc_dai *cpu_dai = rtd->cpu_dai;
 	struct snd_soc_dapm_widget *sink, *source;
-	struct snd_soc_dapm_route r;
 	int i;
 
-	memset(&r, 0, sizeof(r));
-
 	for (i = 0; i < rtd->num_codecs; i++) {
 		struct snd_soc_dai *codec_dai = rtd->codec_dais[i];
 
-- 
1.8.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: Remove unused 'r' variable from dapm_connect_dai_link_widgets()
  2014-07-17  7:15 [PATCH] ASoC: Remove unused 'r' variable from dapm_connect_dai_link_widgets() Lars-Peter Clausen
@ 2014-07-17 11:34 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2014-07-17 11:34 UTC (permalink / raw)
  To: Lars-Peter Clausen; +Cc: alsa-devel, Liam Girdwood, Benoit Cousson


[-- Attachment #1.1: Type: text/plain, Size: 183 bytes --]

On Thu, Jul 17, 2014 at 09:15:34AM +0200, Lars-Peter Clausen wrote:
> It was accidentally added in commit 44ba2641 ("ASoC: dapm: Add support for DAI
> multicodec").

Applied, thanks.

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-07-17 11:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-17  7:15 [PATCH] ASoC: Remove unused 'r' variable from dapm_connect_dai_link_widgets() Lars-Peter Clausen
2014-07-17 11:34 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.