summaryrefslogtreecommitdiff
path: root/drivers/staging/speakup
diff options
context:
space:
mode:
authorWilliam Hubbs <w.d.hubbs@gmail.com>2013-05-13 00:02:57 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-05-16 16:11:08 -0700
commit8ec0826a38a6df323ae5af5424b38d32aeebdbbe (patch)
tree7338326f13f5defe4e6dd4bef1421f5c08681b49 /drivers/staging/speakup
parent3efe810f2322223eca3b3a1dea3ae40500cbd471 (diff)
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>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r--drivers/staging/speakup/spk_priv.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/staging/speakup/spk_priv.h b/drivers/staging/speakup/spk_priv.h
index 303105b46013..141125c3a54e 100644
--- a/drivers/staging/speakup/spk_priv.h
+++ b/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 */
#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