summaryrefslogtreecommitdiff
path: root/drivers/staging/dgap
diff options
context:
space:
mode:
authorMark Hounschell <markh@compro.net>2014-03-11 10:08:11 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 14:33:35 -0700
commit339db3a32b457c7fc7cc69d8cb653fd4d15000ed (patch)
treeed1558079deac8149b62c27fd78239f2e2806bc8 /drivers/staging/dgap
parent928d70bb1ee5cde62978b6d6e59817a426b5454a (diff)
staging: dgap: Remove unused DGAP_TRYLOCK macro
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>
Diffstat (limited to 'drivers/staging/dgap')
-rw-r--r--drivers/staging/dgap/dgap.h1
1 files changed, 0 insertions, 1 deletions
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