Whamcloud - gitweb
branch: HEAD
authorericm <ericm>
Tue, 31 Jul 2007 15:45:34 +0000 (15:45 +0000)
committerericm <ericm>
Tue, 31 Jul 2007 15:45:34 +0000 (15:45 +0000)
remove a duplicate definition.

lustre/include/liblustre.h

index 1f99cbc..6eb45b7 100644 (file)
@@ -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)