From: Axel Lin Date: Wed, 17 Aug 2011 07:14:33 +0000 (+0800) Subject: ASoC: Remove unreachable code in au1xac97c_drvprobe and au1xi2s_drvprobe X-Git-Tag: MMI-PSA29.97-13-9~16612^2~907 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4f7e7954a7f66735b0ee4b304c075c24ffae091a;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git ASoC: Remove unreachable code in au1xac97c_drvprobe and au1xi2s_drvprobe Signed-off-by: Axel Lin Signed-off-by: Mark Brown --- 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: 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) return 0; - snd_soc_unregister_dai(&pdev->dev); out1: release_mem_region(r->start, resource_size(r)); out0: