aboutsummaryrefslogtreecommitdiffstats
path: root/sound/soc/au1x
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-08-17 03:14:33 -0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2011-08-17 03:24:16 -0400
commit4f7e7954a7f66735b0ee4b304c075c24ffae091a (patch)
treeba15e54c37b0301eb12ede1d2d28e186bc4b1935 /sound/soc/au1x
parent96af5c6a8266003a2212d9d0b383603f1af9b109 (diff)
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')
-rw-r--r--sound/soc/au1x/ac97c.c2
-rw-r--r--sound/soc/au1x/i2sc.c1
2 files changed, 0 insertions, 3 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)
275 ac97c_workdata = ctx; 275 ac97c_workdata = ctx;
276 return 0; 276 return 0;
277 277
278
279 snd_soc_unregister_dai(&pdev->dev);
280out1: 278out1:
281 release_mem_region(r->start, resource_size(r)); 279 release_mem_region(r->start, resource_size(r));
282out0: 280out0:
diff --git a/sound/soc/au1x/i2sc.c b/sound/soc/au1x/i2sc.c
index b4172fdd2c48..19e0d2a9c828 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)
267 267
268 return 0; 268 return 0;
269 269
270 snd_soc_unregister_dai(&pdev->dev);
271out1: 270out1:
272 release_mem_region(r->start, resource_size(r)); 271 release_mem_region(r->start, resource_size(r));
273out0: 272out0: