summaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x/ac97c.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-17 09:14:33 +0200
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-17 09:24:16 +0200
commit4f7e7954a7f66735b0ee4b304c075c24ffae091a (patch)
treeba15e54c37b0301eb12ede1d2d28e186bc4b1935 /sound/soc/au1x/ac97c.c
parentASoC: fsl: fix build warning in fsl_dma (diff)
downloadlinux-4f7e7954a7f66735b0ee4b304c075c24ffae091a.tar.xz
linux-4f7e7954a7f66735b0ee4b304c075c24ffae091a.zip
ASoC: Remove unreachable code in au1xac97c_drvprobe and au1xi2s_drvprobe
Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/au1x/ac97c.c')
-rw-r--r--sound/soc/au1x/ac97c.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/au1x/ac97c.c b/sound/soc/au1x/ac97c.c
index 9c05f381d95e..13802ff7cf05 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: