diff mbox

[07/21] Remove dead macros likely/unlikely in exec.c

Message ID 1241040038-17183-8-git-send-email-aliguori@us.ibm.com (mailing list archive)
State New, archived
Headers show

Commit Message

Anthony Liguori April 29, 2009, 9:20 p.m. UTC
More left overs from the old migration code.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
---
 exec.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
diff mbox

Patch

diff --git a/exec.c b/exec.c
index 16d3cf8..e9d83a8 100644
--- a/exec.c
+++ b/exec.c
@@ -3500,14 +3500,6 @@  uint32_t lduw_phys(target_phys_addr_t addr)
     return tswap16(val);
 }
 
-#ifdef __GNUC__
-#define likely(x) __builtin_expect(!!(x), 1)
-#define unlikely(x) __builtin_expect(!!(x), 0)
-#else
-#define likely(x) x
-#define unlikely(x) x
-#endif
-
 /* warning: addr must be aligned. The ram page is not masked as dirty
    and the code inside is not invalidated. It is useful if the dirty
    bits are used to track modified PTEs */