lkml.org 
[lkml]   [2007]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5/8] remove unused macro
    Date
    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>
    ---
    include/asm-x86/system_64.h | 2 --
    1 files changed, 0 insertions(+), 2 deletions(-)

    diff --git a/include/asm-x86/system_64.h b/include/asm-x86/system_64.h
    index 3da8ec2..bb058ad 100644
    --- a/include/asm-x86/system_64.h
    +++ b/include/asm-x86/system_64.h
    @@ -66,8 +66,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)
    -
    #include <linux/irqflags.h>

    #endif
    --
    1.4.4.2


    \
     
     \ /
      Last update: 2007-12-04 19:55    [W:0.019 / U:61.292 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site