Kill FOLLY_ALIGNED etc
[folly.git] / folly / concurrency / CacheLocality.h
index 420f5334b5ac108e37695e5943b17b115b83ed03..cd6c06e210df0bcb12c9ebc2b90612a599603e41 100644 (file)
@@ -118,12 +118,6 @@ struct CacheLocality {
   static CacheLocality uniform(size_t numCpus);
 };
 
-// TODO replace with alignas(hardware_destructive_interference_size)
-
-/// An attribute that will cause a variable or field to be aligned so that
-/// it doesn't have false sharing with anything at a smaller memory address.
-#define FOLLY_ALIGN_TO_AVOID_FALSE_SHARING FOLLY_ALIGNED(128)
-
 /// Knows how to derive a function pointer to the VDSO implementation of
 /// getcpu(2), if available
 struct Getcpu {