diff options
Diffstat (limited to 'sound/soc/codecs/wm8940.c')
-rw-r--r-- | sound/soc/codecs/wm8940.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/sound/soc/codecs/wm8940.c b/sound/soc/codecs/wm8940.c index 8d4fd3c08c09..fc80aa6c913c 100644 --- a/sound/soc/codecs/wm8940.c +++ b/sound/soc/codecs/wm8940.c | |||
@@ -731,12 +731,6 @@ static int wm8940_probe(struct platform_device *pdev) | |||
731 | if (ret) | 731 | if (ret) |
732 | goto error_free_pcms; | 732 | goto error_free_pcms; |
733 | 733 | ||
734 | ret = snd_soc_init_card(socdev); | ||
735 | if (ret < 0) { | ||
736 | dev_err(codec->dev, "failed to register card: %d\n", ret); | ||
737 | goto error_free_pcms; | ||
738 | } | ||
739 | |||
740 | return ret; | 734 | return ret; |
741 | 735 | ||
742 | error_free_pcms: | 736 | error_free_pcms: |