Skip to content

Commit

Permalink
ASoC: Remove unreachable code in au1xac97c_drvprobe and au1xi2s_drvprobe
Browse files Browse the repository at this point in the history
Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
  • Loading branch information
Axel Lin authored and Mark Brown committed Aug 17, 2011
1 parent 96af5c6 commit 4f7e795
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions sound/soc/au1x/ac97c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion sound/soc/au1x/i2sc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 4f7e795

Please sign in to comment.