]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: dgap: Remove unused DGAP_TRYLOCK macro
authorMark Hounschell <markh@compro.net>
Tue, 11 Mar 2014 14:08:11 +0000 (10:08 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:33:35 +0000 (14:33 -0700)
This patch removes  the unused DGAP_TRYLOCK macro

Signed-off-by: Mark Hounschell <markh@compro.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.h

index 415d81663d2faaf9612a81ac5974e1a216159366..feeea7cff032d08c92a4fb18a8aef4a80722730b 100644 (file)
@@ -201,7 +201,6 @@ typedef unsigned char               uchar;
 # define DGAP_SPINLOCK_INIT(x)         spin_lock_init(&(x))
 # define DGAP_LOCK(x,y)                        spin_lock_irqsave(&(x), y)
 # define DGAP_UNLOCK(x,y)              spin_unlock_irqrestore(&(x), y)
-# define DGAP_TRYLOCK(x,y)             spin_trylock(&(x))
 
 /************************************************************************
  *      FEP memory offsets