ASoC: Remove unused dapm_get_snd_card() and dapm_get_soc_card()
authorLars-Peter Clausen <lars@metafoo.de>
Tue, 23 Jul 2013 09:12:25 +0000 (11:12 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 23 Jul 2013 12:56:03 +0000 (13:56 +0100)
commit5f6e7d52c4959019d12a7deebbde548884a917d1
tree10e9f9a54f7d9378b0a8ca61ee76a5360a888b25
parente6058aaadcd473e5827720dc143af56aabbeecc7
ASoC: Remove unused dapm_get_snd_card() and dapm_get_soc_card()

These two functions were added two years ago in commit 4805608 ("ASoC: dapm -
Add methods to retrieve snd_card and soc_card from dapm context.") but have
remained unused so far. Considering that the dapm context actually has a direct
pointer to the card the functions also seem to be unnecessary. E.g. the
expressions 'dapm_get_soc_card(dapm)' and 'dapm->card' yield the same result.

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