Skip to content

Commit

Permalink
x86: remove unused macro
Browse files Browse the repository at this point in the history
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 <gcosta@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Jan 30, 2008
1 parent d3ca901 commit 62fe164
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions include/asm-x86/system_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 62fe164

Please sign in to comment.