ASoC: core: Remove duplicated rtd->codec initialization
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 1 Jul 2014 20:13:45 +0000 (22:13 +0200)
committerMark Brown <broonie@linaro.org>
Wed, 2 Jul 2014 20:24:04 +0000 (21:24 +0100)
commitb8257be5fff447681af8c8b72f1380e8a9c04286
tree59cbe1a6861006a3cad6eb519655d4304196f00d
parent211bcc6c3af90f3ee1f1297349d9d692e5f1c7e0
ASoC: core: Remove duplicated rtd->codec initialization

rtd->codec is already initialized in soc_bind_dai_link(), so there is no need to
do it again in soc_dai_link_init(). Removing the rtd->codec initialization from
soc_dai_link_init() also removes the need for soc_dai_link_init() to know about
the CODEC at all.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/soc-core.c