]> git.karo-electronics.de Git - linux-beck.git/commit
ASoC: core: Remove unused "n_widgets" field from snd_soc_dapm struct
authorLars-Peter Clausen <lars@metafoo.de>
Fri, 8 Mar 2013 12:44:27 +0000 (13:44 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 8 Mar 2013 12:45:10 +0000 (20:45 +0800)
commita93f8e76a446e0a146a169cc2cc82bf1e145ad35
tree279aa9708b4a5775e1e7f54e33d9afc3ca1dc8e9
parente383c467ceeee3b040444d6dcd27f331d72b1426
ASoC: core: Remove unused "n_widgets" field from snd_soc_dapm struct

Commit 497098be ("ASoC: dapm: Remove bodges for no-widget CODECs") removed the
last user of the n_widgets field. Currently it is incremented for each widget
added, but the value is never used, so we can remove it.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
include/sound/soc-dapm.h
sound/soc/soc-dapm.c