@@ -3854,8 +3854,6 @@ int snd_soc_dapm_new_pcm(struct snd_soc_card *card,
(void *)(kcontrol_dai_link[0].private_value),
sizeof(struct soc_enum), GFP_KERNEL);
if (!private_value) {
- dev_err(card->dev, "ASoC: Failed to create control for %s widget\n",
- link_name);
ret = -ENOMEM;
goto outfree_link_name;
}
@@ -3866,8 +3864,6 @@ int snd_soc_dapm_new_pcm(struct snd_soc_card *card,
sizeof(struct snd_kcontrol_new),
GFP_KERNEL);
if (!template.kcontrol_news) {
- dev_err(card->dev, "ASoC: Failed to create control for %s widget\n",
- link_name);
ret = -ENOMEM;
goto outfree_private_value;
}