mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-13 22:25:03 +00:00
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>
This commit is contained in:
parent
3efe810f23
commit
8ec0826a38
1 changed files with 0 additions and 1 deletions
|
@ -87,7 +87,6 @@ extern struct var_t synth_time_vars[];
|
|||
*/
|
||||
/* Speakup needs to disable the keyboard IRQ, hence _irqsave/restore */
|
||||
#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)
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue