This patch removes  the unused DGAP_TRYLOCK macro

Signed-off-by: Mark Hounschell <ma...@compro.net>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
 drivers/staging/dgap/dgap.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/dgap/dgap.h b/drivers/staging/dgap/dgap.h
index 415d816..feeea7c 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
-- 
1.8.1.4

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to