diff options
Diffstat (limited to 'sound/pci/ali5451/ali5451.c')
-rw-r--r-- | sound/pci/ali5451/ali5451.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/pci/ali5451/ali5451.c b/sound/pci/ali5451/ali5451.c index 3dfa12b670eb..c6835a3d64fb 100644 --- a/sound/pci/ali5451/ali5451.c +++ b/sound/pci/ali5451/ali5451.c | |||
@@ -855,7 +855,6 @@ static void snd_ali_disable_spdif_out(struct snd_ali *codec) | |||
855 | static void snd_ali_update_ptr(struct snd_ali *codec, int channel) | 855 | static void snd_ali_update_ptr(struct snd_ali *codec, int channel) |
856 | { | 856 | { |
857 | struct snd_ali_voice *pvoice; | 857 | struct snd_ali_voice *pvoice; |
858 | struct snd_pcm_runtime *runtime; | ||
859 | struct snd_ali_channel_control *pchregs; | 858 | struct snd_ali_channel_control *pchregs; |
860 | unsigned int old, mask; | 859 | unsigned int old, mask; |
861 | #ifdef ALI_DEBUG | 860 | #ifdef ALI_DEBUG |
@@ -872,7 +871,6 @@ static void snd_ali_update_ptr(struct snd_ali *codec, int channel) | |||
872 | return; | 871 | return; |
873 | 872 | ||
874 | pvoice = &codec->synth.voices[channel]; | 873 | pvoice = &codec->synth.voices[channel]; |
875 | runtime = pvoice->substream->runtime; | ||
876 | 874 | ||
877 | udelay(100); | 875 | udelay(100); |
878 | spin_lock(&codec->reg_lock); | 876 | spin_lock(&codec->reg_lock); |