Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c82ab5
)
branch: HEAD
author
ericm
<ericm>
Tue, 31 Jul 2007 15:45:34 +0000
(15:45 +0000)
committer
ericm
<ericm>
Tue, 31 Jul 2007 15:45:34 +0000
(15:45 +0000)
remove a duplicate definition.
lustre/include/liblustre.h
patch
|
blob
|
history
diff --git
a/lustre/include/liblustre.h
b/lustre/include/liblustre.h
index
1f99cbc
..
6eb45b7
100644
(file)
--- a/
lustre/include/liblustre.h
+++ b/
lustre/include/liblustre.h
@@
-725,7
+725,6
@@
typedef struct { volatile int counter; } atomic_t;
#define atomic_dec(a) do { (a)->counter--; } while (0)
#define atomic_add(b,a) do {(a)->counter += b;} while (0)
#define atomic_sub(b,a) do {(a)->counter -= b;} while (0)
-#define ATOMIC_INIT(i) { i }
#ifndef likely
#define likely(exp) (exp)