Commit 1db51e6f authored by Richard Fitzgerald's avatar Richard Fitzgerald Committed by Mark Brown

ASoC: wm_adsp: Remove unused wm_coeff_ctl.kcontrol

The kcontrol pointer in wm_coeff_ctl is not used now.
Signed-off-by: default avatarRichard Fitzgerald <rf@opensource.wolfsonmicro.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 685f51a5
...@@ -451,7 +451,6 @@ struct wm_coeff_ctl { ...@@ -451,7 +451,6 @@ struct wm_coeff_ctl {
unsigned int offset; unsigned int offset;
size_t len; size_t len;
unsigned int set:1; unsigned int set:1;
struct snd_kcontrol *kcontrol;
struct soc_bytes_ext bytes_ext; struct soc_bytes_ext bytes_ext;
unsigned int flags; unsigned int flags;
unsigned int type; unsigned int type;
...@@ -1138,8 +1137,6 @@ static int wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl) ...@@ -1138,8 +1137,6 @@ static int wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl)
kfree(kcontrol); kfree(kcontrol);
ctl->kcontrol = snd_soc_card_get_kcontrol(dsp->card, ctl->name);
return 0; return 0;
err_kcontrol: err_kcontrol:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment