diff options
author | Richard Fitzgerald <rf@opensource.wolfsonmicro.com> | 2016-11-22 11:58:56 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2016-11-22 12:24:43 -0500 |
commit | 1db51e6fb0f5596518975fd1b2f7ef050e9d58ef (patch) | |
tree | efb03e78f68a6559140edd22b59920ac5fdc63e2 | |
parent | 685f51a5eb98779147abb39f584b115ccdd87a4a (diff) |
ASoC: wm_adsp: Remove unused wm_coeff_ctl.kcontrol
The kcontrol pointer in wm_coeff_ctl is not used now.
Signed-off-by: Richard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/wm_adsp.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/wm_adsp.c b/sound/soc/codecs/wm_adsp.c index 404466d2ae51..6e6b9d838332 100644 --- a/sound/soc/codecs/wm_adsp.c +++ b/sound/soc/codecs/wm_adsp.c | |||
@@ -451,7 +451,6 @@ struct wm_coeff_ctl { | |||
451 | unsigned int offset; | 451 | unsigned int offset; |
452 | size_t len; | 452 | size_t len; |
453 | unsigned int set:1; | 453 | unsigned int set:1; |
454 | struct snd_kcontrol *kcontrol; | ||
455 | struct soc_bytes_ext bytes_ext; | 454 | struct soc_bytes_ext bytes_ext; |
456 | unsigned int flags; | 455 | unsigned int flags; |
457 | unsigned int type; | 456 | unsigned int type; |
@@ -1138,8 +1137,6 @@ static int wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl) | |||
1138 | 1137 | ||
1139 | kfree(kcontrol); | 1138 | kfree(kcontrol); |
1140 | 1139 | ||
1141 | ctl->kcontrol = snd_soc_card_get_kcontrol(dsp->card, ctl->name); | ||
1142 | |||
1143 | return 0; | 1140 | return 0; |
1144 | 1141 | ||
1145 | err_kcontrol: | 1142 | err_kcontrol: |