diff options
author | Ben Pfaff <blp@nicira.com> | 2010-02-11 11:37:30 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-02-12 13:56:15 -0800 |
commit | 39e94ea4dbf60510965620859655fb78f4529404 (patch) | |
tree | 62815491d506043c6ec3b1ccd08ab317db947ef9 /lib/compiler.h | |
parent | 381328fe36480b63a73cd5b164047e27622e772f (diff) |
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.)
Diffstat (limited to 'lib/compiler.h')
-rw-r--r-- | lib/compiler.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/compiler.h b/lib/compiler.h index 502a48cd..ac1cd0fc 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 */ |