diff options
author | Krzysztof Helt <krzysztof.h1@wp.pl> | 2008-08-03 11:57:21 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-08-06 09:40:06 -0400 |
commit | f1789f451d2ee18ff2bbc5afe78e1a7b9b714003 (patch) | |
tree | 2af334098f16967ce18bc754f707816ea1368533 /sound/isa | |
parent | a0d9274cd888ada59fe2734f45019d84bc40ac3d (diff) |
ALSA: wss_lib: remove second mutexes initialization
Remove initializations of spinlock and mutexes which
are done earlier in snd_wss_new(). The snd_wss_new()
is called from snd_wss_create().
Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound/isa')
-rw-r--r-- | sound/isa/wss/wss_lib.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sound/isa/wss/wss_lib.c b/sound/isa/wss/wss_lib.c index f2df77bd1308..fff8a3b79fdf 100644 --- a/sound/isa/wss/wss_lib.c +++ b/sound/isa/wss/wss_lib.c | |||
@@ -1866,10 +1866,6 @@ int snd_wss_pcm(struct snd_wss *chip, int device, struct snd_pcm **rpcm) | |||
1866 | if (err < 0) | 1866 | if (err < 0) |
1867 | return err; | 1867 | return err; |
1868 | 1868 | ||
1869 | spin_lock_init(&chip->reg_lock); | ||
1870 | mutex_init(&chip->mce_mutex); | ||
1871 | mutex_init(&chip->open_mutex); | ||
1872 | |||
1873 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_wss_playback_ops); | 1869 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_PLAYBACK, &snd_wss_playback_ops); |
1874 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_wss_capture_ops); | 1870 | snd_pcm_set_ops(pcm, SNDRV_PCM_STREAM_CAPTURE, &snd_wss_capture_ops); |
1875 | 1871 | ||