Эх сурвалжийг харах

staging: speakup: remove spk_trylock macro definition

Signed-off-by: William Hubbs <w.d.hubbs@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
William Hubbs 12 жил өмнө
parent
commit
8ec0826a38

+ 0 - 1
drivers/staging/speakup/spk_priv.h

@@ -87,7 +87,6 @@ extern struct var_t synth_time_vars[];
  */
  */
 /* Speakup needs to disable the keyboard IRQ, hence _irqsave/restore */
 /* Speakup needs to disable the keyboard IRQ, hence _irqsave/restore */
 #define spk_lock(flags) spin_lock_irqsave(&speakup_info.spinlock, flags)
 #define spk_lock(flags) spin_lock_irqsave(&speakup_info.spinlock, flags)
-#define spk_trylock(flags) spin_trylock_irqsave(&speakup_info.spinlock, flags)
 #define spk_unlock(flags) spin_unlock_irqrestore(&speakup_info.spinlock, flags)
 #define spk_unlock(flags) spin_unlock_irqrestore(&speakup_info.spinlock, flags)
 
 
 #endif
 #endif