diff options
author | Oswald Buddenhagen <oswald.buddenhagen@gmx.de> | 2023-04-21 16:10:04 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2023-04-22 10:40:55 +0200 |
commit | 14a5c5a44b61953b3f84a01152fe1d40838f5d91 (patch) | |
tree | 6dce36fd5603efe203e384fac3ee84f3e34bda68 /sound/pci/emu10k1/p16v.c | |
parent | ALSA: emu10k1: remove obsolete card type variable and defines (diff) | |
download | linux-14a5c5a44b61953b3f84a01152fe1d40838f5d91.tar.xz linux-14a5c5a44b61953b3f84a01152fe1d40838f5d91.zip |
ALSA: emu10k1: remove unused snd_emu10k1_voice.emu field
It was written, but never read from. Its value is available via the epcm
field.
Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
Link: https://lore.kernel.org/r/20230421141006.1005452-5-oswald.buddenhagen@gmx.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/emu10k1/p16v.c')
-rw-r--r-- | sound/pci/emu10k1/p16v.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/emu10k1/p16v.c b/sound/pci/emu10k1/p16v.c index 18a1b0740e6b..f5e0972187a7 100644 --- a/sound/pci/emu10k1/p16v.c +++ b/sound/pci/emu10k1/p16v.c @@ -181,7 +181,6 @@ static int snd_p16v_pcm_open_playback_channel(struct snd_pcm_substream *substrea runtime->hw = snd_p16v_playback_hw; - channel->emu = emu; channel->number = channel_id; channel->use=1; @@ -230,7 +229,6 @@ static int snd_p16v_pcm_open_capture_channel(struct snd_pcm_substream *substream runtime->hw = snd_p16v_capture_hw; - channel->emu = emu; channel->number = channel_id; channel->use=1; |