From f2a76225b962f00642002fb109aee2e5b0dc4259 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 23 Jan 2015 14:49:22 +0100 Subject: ALSA: line6: Drop superfluous spinlock for trigger The trigger callback is already spinlocked, so we need no more lock here (even for the linked substreams). Let's drop it. Tested-by: Chris Rorvick Signed-off-by: Takashi Iwai --- sound/usb/line6/pcm.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'sound/usb/line6/pcm.h') diff --git a/sound/usb/line6/pcm.h b/sound/usb/line6/pcm.h index c742b33666eb..a84753ee0fa2 100644 --- a/sound/usb/line6/pcm.h +++ b/sound/usb/line6/pcm.h @@ -307,11 +307,6 @@ struct snd_line6_pcm { */ spinlock_t lock_audio_in; - /** - Spin lock to protect trigger. - */ - spinlock_t lock_trigger; - /** PCM playback volume (left and right). */ -- cgit v1.2.3