util: Remove duplicate CACHE_LINE_SIZE definition.
authorBen Pfaff <blp@nicira.com>
Thu, 8 May 2014 23:42:24 +0000 (16:42 -0700)
committerBen Pfaff <blp@nicira.com>
Thu, 8 May 2014 23:42:44 +0000 (16:42 -0700)
Reported-by: Jarno Rajahalme <jrajahalme@nicira.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Andy Zhou <azhou@nicira.com>
lib/util.h

index 743b9fe..4d0ba76 100644 (file)
@@ -151,8 +151,6 @@ is_pow2(uintmax_t x)
 #define CACHE_LINE_SIZE 64
 BUILD_ASSERT_DECL(IS_POW2(CACHE_LINE_SIZE));
 
-#define CACHE_LINE_SIZE 64      /* Correct for most CPUs. */
-
 static inline void
 ovs_prefetch_range(const void *start, size_t size)
 {