]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: dapm: Remove delayed_work from dapm context struct
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 30 Mar 2015 19:04:52 +0000 (21:04 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 1 Apr 2015 20:28:15 +0000 (21:28 +0100)
The delayed_work field in the snd_soc_dapm_context struct is now unused and
can be removed. Removing it reduces the size of the snd_soc_dapm_context
struct by ~50% from 100 bytes to 48 bytes.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-dapm.h

index 9e35203653ff1c72193bda7b94e340a1e9bcf906..485fc9d1a7bc6c2879e5ed58b7e16ba3258a65b0 100644 (file)
@@ -586,7 +586,6 @@ struct snd_soc_dapm_update {
 /* DAPM context */
 struct snd_soc_dapm_context {
        enum snd_soc_bias_level bias_level;
-       struct delayed_work delayed_work;
        unsigned int idle_bias_off:1; /* Use BIAS_OFF instead of STANDBY */
        /* Go to BIAS_OFF in suspend if the DAPM context is idle */
        unsigned int suspend_bias_off:1;