Skip to content

Commit 8b2dd46

Browse files
ossilatortiwai
authored andcommitted
ALSA: emu10k1: remove unused emu->pcm_playback_efx_substream field
Amends historic commit 27ae958 ("emu10k1 driver - add multichannel device hw:x,3 [2-8/8]"). Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de> Link: https://lore.kernel.org/r/20230422132430.1057468-2-oswald.buddenhagen@gmx.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent be250b7 commit 8b2dd46

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

include/sound/emu10k1.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,6 @@ struct snd_emu10k1 {
17641764
struct snd_pcm_substream *pcm_capture_substream;
17651765
struct snd_pcm_substream *pcm_capture_mic_substream;
17661766
struct snd_pcm_substream *pcm_capture_efx_substream;
1767-
struct snd_pcm_substream *pcm_playback_efx_substream;
17681767

17691768
struct snd_timer *timer;
17701769

sound/pci/emu10k1/emupcm.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1044,8 +1044,6 @@ static int snd_emu10k1_efx_playback_open(struct snd_pcm_substream *substream)
10441044
epcm->type = PLAYBACK_EFX;
10451045
epcm->substream = substream;
10461046

1047-
emu->pcm_playback_efx_substream = substream;
1048-
10491047
runtime->private_data = epcm;
10501048
runtime->private_free = snd_emu10k1_pcm_free_substream;
10511049
runtime->hw = snd_emu10k1_efx_playback;

0 commit comments

Comments
 (0)