OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20dedd3
)
Staging: et131x: kill unused RCV_REF macros
author
Alan Cox
<alan@linux.intel.com>
Thu, 27 Aug 2009 09:58:37 +0000
(10:58 +0100)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 15 Sep 2009 19:02:26 +0000
(12:02 -0700)
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/et131x/et131x_adapter.h
patch
|
blob
|
history
diff --git
a/drivers/staging/et131x/et131x_adapter.h
b/drivers/staging/et131x/et131x_adapter.h
index
2b55319
..
82686ea
100644
(file)
--- a/
drivers/staging/et131x/et131x_adapter.h
+++ b/
drivers/staging/et131x/et131x_adapter.h
@@
-108,8
+108,6
@@
#define MP_TEST_FLAGS(_M, _F) (((_M)->Flags & (_F)) == (_F))
#define MP_IS_FLAG_CLEAR(_M, _F) (((_M)->Flags & (_F)) == 0)
-#define MP_INC_RCV_REF(_A) atomic_inc(&(_A)->RcvRefCount)
-#define MP_DEC_RCV_REF(_A) atomic_dec(&(_A)->RcvRefCount)
#define MP_GET_RCV_REF(_A) atomic_read(&(_A)->RcvRefCount)
/* Macros specific to the private adapter structure */