public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: Remove unreachable code in au1xac97c_drvprobe and au1xi2s_drvprobe
@ 2011-08-17  7:14 Axel Lin
  2011-08-17  7:24 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-08-17  7:14 UTC (permalink / raw)
  To: linux-kernel; +Cc: Manuel Lauss, Liam Girdwood, Mark Brown, alsa-devel

Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
 sound/soc/au1x/ac97c.c |    2 --
 sound/soc/au1x/i2sc.c  |    1 -
 2 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/sound/soc/au1x/ac97c.c b/sound/soc/au1x/ac97c.c
index 9c05f38..13802ff 100644
--- a/sound/soc/au1x/ac97c.c
+++ b/sound/soc/au1x/ac97c.c
@@ -275,8 +275,6 @@ static int __devinit au1xac97c_drvprobe(struct platform_device *pdev)
 	ac97c_workdata = ctx;
 	return 0;
 
-
-	snd_soc_unregister_dai(&pdev->dev);
 out1:
 	release_mem_region(r->start, resource_size(r));
 out0:
diff --git a/sound/soc/au1x/i2sc.c b/sound/soc/au1x/i2sc.c
index b4172fd..19e0d2a 100644
--- a/sound/soc/au1x/i2sc.c
+++ b/sound/soc/au1x/i2sc.c
@@ -267,7 +267,6 @@ static int __devinit au1xi2s_drvprobe(struct platform_device *pdev)
 
 	return 0;
 
-	snd_soc_unregister_dai(&pdev->dev);
 out1:
 	release_mem_region(r->start, resource_size(r));
 out0:
-- 
1.7.4.1




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

end of thread, other threads:[~2011-08-17  7:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17  7:14 [PATCH] ASoC: Remove unreachable code in au1xac97c_drvprobe and au1xi2s_drvprobe Axel Lin
2011-08-17  7:24 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox