From 62fe164c5b036f4bdb19fbfb8f18a75631e67eee Mon Sep 17 00:00:00 2001 From: Glauber de Oliveira Costa Date: Wed, 30 Jan 2008 13:31:08 +0100 Subject: [PATCH] x86: remove unused macro Mr. Grep says warn_if_not_ulong() is not used anymore anywhere in the code. So, we remove it. Signed-off-by: Glauber de Oliveira Costa Signed-off-by: Ingo Molnar Signed-off-by: Thomas Gleixner --- include/asm-x86/system_64.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/asm-x86/system_64.h b/include/asm-x86/system_64.h index 14ad6138439..560470ea27c 100644 --- a/include/asm-x86/system_64.h +++ b/include/asm-x86/system_64.h @@ -73,8 +73,6 @@ #define read_barrier_depends() do {} while(0) #define set_mb(var, value) do { (void) xchg(&var, value); } while (0) -#define warn_if_not_ulong(x) do { unsigned long foo; (void) (&(x) == &foo); } while (0) - static inline unsigned long read_cr8(void) { unsigned long cr8; -- 2.41.1