From 05c1afe75fcebf456017ec186811cf1599f4360e Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Tue, 30 Oct 2007 11:59:15 +0100 Subject: [ALSA] opl3 - simplify exclusive access lock Use the exclusive access lock in hwdep instead of the own one. Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- include/sound/opl3.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'include/sound/opl3.h') diff --git a/include/sound/opl3.h b/include/sound/opl3.h index 7ee865d6236f..eea584b7bfc5 100644 --- a/include/sound/opl3.h +++ b/include/sound/opl3.h @@ -320,7 +320,6 @@ struct snd_opl3 { spinlock_t reg_lock; struct snd_card *card; /* The card that this belongs to */ - int used; /* usage flag - exclusive */ unsigned char fm_mode; /* OPL mode, see SNDRV_DM_FM_MODE_XXX */ unsigned char rhythm; /* percussion mode flag */ unsigned char max_voices; /* max number of voices */ @@ -353,7 +352,6 @@ struct snd_opl3 { int sys_timer_status; /* system timer run status */ spinlock_t sys_timer_lock; /* Lock for system timer access */ #endif - struct mutex access_mutex; /* locking */ }; /* opl3.c */ -- cgit v1.2.3