summaryrefslogtreecommitdiff
path: root/nhrpd/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'nhrpd/debug.h')
-rw-r--r--nhrpd/debug.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/nhrpd/debug.h b/nhrpd/debug.h
index e9428fa90a..f2c7022ad4 100644
--- a/nhrpd/debug.h
+++ b/nhrpd/debug.h
@@ -1,13 +1,5 @@
#include "log.h"
-#if defined(__GNUC__) && (__GNUC__ >= 3)
-#define likely(_x) __builtin_expect(!!(_x), 1)
-#define unlikely(_x) __builtin_expect(!!(_x), 0)
-#else
-#define likely(_x) !!(_x)
-#define unlikely(_x) !!(_x)
-#endif
-
#define NHRP_DEBUG_COMMON (1 << 0)
#define NHRP_DEBUG_KERNEL (1 << 1)
#define NHRP_DEBUG_IF (1 << 2)