aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/dgap/dgap.h
diff options
context:
space:
mode:
authorMark Hounschell <markh@compro.net>2014-03-11 10:11:43 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-03-17 14:33:35 -0700
commit211568d0009fa12f20d19b9ba756469ad35c3948 (patch)
tree3dc5eb564e3fb93179ac41ff54c4f05334a29e00 /drivers/staging/dgap/dgap.h
parentstaging: dgap: Remove unused DGAP_TRYLOCK macro (diff)
downloadlinux-dev-211568d0009fa12f20d19b9ba756469ad35c3948.tar.xz
linux-dev-211568d0009fa12f20d19b9ba756469ad35c3948.zip
staging: dgap: Replace/remove DGAP_SPINLOCK_INIT macro
This patch gets rid of the DGAP_SPINLOCK_INIT macro Signed-off-by: Mark Hounschell <markh@compro.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/dgap/dgap.h')
-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 feeea7cff032..caa1492900a7 100644
--- a/drivers/staging/dgap/dgap.h
+++ b/drivers/staging/dgap/dgap.h
@@ -198,7 +198,6 @@ typedef unsigned char uchar;
* Lock function/defines.
* Makes spotting lock/unlock locations easier.
*/
-# 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)