projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
928d70b
)
staging: dgap: Remove unused DGAP_TRYLOCK macro
author
Mark Hounschell
<markh@compro.net>
Tue, 11 Mar 2014 14:08:11 +0000
(10:08 -0400)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 17 Mar 2014 21:33:35 +0000
(14:33 -0700)
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>
drivers/staging/dgap/dgap.h
patch
|
blob
|
history
diff --git
a/drivers/staging/dgap/dgap.h
b/drivers/staging/dgap/dgap.h
index
415d816
..
feeea7c
100644
(file)
--- 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