From 39e94ea4dbf60510965620859655fb78f4529404 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Thu, 11 Feb 2010 11:37:30 -0800 Subject: [PATCH] compiler: Remove "likely" and "unlikely" macros, since we don't use them. (The datapath uses these macros, but those come from Linux's kernel.h, not from this file.) --- lib/compiler.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/compiler.h b/lib/compiler.h index 502a48cd1..ac1cd0fcb 100644 --- a/lib/compiler.h +++ b/lib/compiler.h @@ -23,7 +23,5 @@ #define STRFTIME_FORMAT(FMT) __attribute__((__format__(__strftime__, FMT, 0))) #define MALLOC_LIKE __attribute__((__malloc__)) #define ALWAYS_INLINE __attribute__((always_inline)) -#define likely(x) __builtin_expect((x),1) -#define unlikely(x) __builtin_expect((x),0) #endif /* compiler.h */ -- 2.43.0