[alsa-devel] [PATCH] ASoC: Remove unused dapm_get_snd_card() and dapm_get_soc_card()

Peter Ujfalusi peter.ujfalusi at ti.com
Tue Jul 23 21:14:09 CEST 2013


On 07/23/2013 02:49 PM, Liam Girdwood wrote:
> On Tue, 2013-07-23 at 11:12 +0200, Lars-Peter Clausen wrote:
>> 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 at metafoo.de>
>> ---
> 
> Peter may have a user for these, but maybe not ?

No, I do not use these.

-- 
Péter


More information about the Alsa-devel mailing list