mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-04 16:56:45 +07:00
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>
This commit is contained in:
parent
685f51a5eb
commit
1db51e6fb0
@ -451,7 +451,6 @@ struct wm_coeff_ctl {
|
||||
unsigned int offset;
|
||||
size_t len;
|
||||
unsigned int set:1;
|
||||
struct snd_kcontrol *kcontrol;
|
||||
struct soc_bytes_ext bytes_ext;
|
||||
unsigned int flags;
|
||||
unsigned int type;
|
||||
@ -1138,8 +1137,6 @@ static int wmfw_add_ctl(struct wm_adsp *dsp, struct wm_coeff_ctl *ctl)
|
||||
|
||||
kfree(kcontrol);
|
||||
|
||||
ctl->kcontrol = snd_soc_card_get_kcontrol(dsp->card, ctl->name);
|
||||
|
||||
return 0;
|
||||
|
||||
err_kcontrol:
|
||||
|
Loading…
Reference in New Issue
Block a user