Commit 4f7e7954 authored by Axel Lin's avatar Axel Lin Committed by Mark Brown

ASoC: Remove unreachable code in au1xac97c_drvprobe and au1xi2s_drvprobe

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 96af5c6a
...@@ -275,8 +275,6 @@ static int __devinit au1xac97c_drvprobe(struct platform_device *pdev) ...@@ -275,8 +275,6 @@ static int __devinit au1xac97c_drvprobe(struct platform_device *pdev)
ac97c_workdata = ctx; ac97c_workdata = ctx;
return 0; return 0;
snd_soc_unregister_dai(&pdev->dev);
out1: out1:
release_mem_region(r->start, resource_size(r)); release_mem_region(r->start, resource_size(r));
out0: out0:
......
...@@ -267,7 +267,6 @@ static int __devinit au1xi2s_drvprobe(struct platform_device *pdev) ...@@ -267,7 +267,6 @@ static int __devinit au1xi2s_drvprobe(struct platform_device *pdev)
return 0; return 0;
snd_soc_unregister_dai(&pdev->dev);
out1: out1:
release_mem_region(r->start, resource_size(r)); release_mem_region(r->start, resource_size(r));
out0: out0:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment