atomicity.h (__compare_and_swap): Remove unused function.
[gcc.git] / libstdc++-v3 / config / cpu / ia64 / bits / atomicity.h
index da57f3e84d1d96133c139ae118410e3cc9f152f1..e28e1490ba551e737a0272d141b01657862a5216 100644 (file)
@@ -48,11 +48,4 @@ __atomic_add (volatile _Atomic_word* __mem, int __val)
   __sync_fetch_and_add (__mem, __val);
 }
 
-static inline int
-__attribute__ ((__unused__))
-__compare_and_swap (volatile long *__p, long __oldval, long __newval)
-{
-  return __sync_bool_compare_and_swap (__p, __oldval, __newval);
-}
-
 #endif /* atomicity.h */