mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 06:15:47 +00:00
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.)
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user