From: Mark Hounschell Date: Tue, 11 Mar 2014 14:08:11 +0000 (-0400) Subject: staging: dgap: Remove unused DGAP_TRYLOCK macro X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=339db3a32b457c7fc7cc69d8cb653fd4d15000ed;p=linux-beck.git staging: dgap: Remove unused DGAP_TRYLOCK macro This patch removes the unused DGAP_TRYLOCK macro Signed-off-by: Mark Hounschell Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/dgap/dgap.h b/drivers/staging/dgap/dgap.h index 415d81663d2f..feeea7cff032 100644 --- a/drivers/staging/dgap/dgap.h +++ b/drivers/staging/dgap/dgap.h @@ -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