[PATCH 03/04] staging: dgap: Remove unused DGAP_TRYLOCK macro
Mark Hounschell
markh at compro.net
Tue Mar 11 14:08:11 UTC 2014
This patch removes the unused DGAP_TRYLOCK macro
Signed-off-by: Mark Hounschell <markh at compro.net>
Cc: Greg Kroah-Hartman <gregkh at 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
More information about the devel
mailing list