[PATCH] Remove symbol_is()

From: Brian Gerst (bgerst_at_quark.didntduck.org)
Date: 07/31/04

  • Next message: David Brownell: "Re: Solving suspend-level confusion"
    Date:	Fri, 30 Jul 2004 23:58:23 -0400
    To: Andrew Morton <akpm@osdl.org>
    
    
    

    Remove the unused symbol_is() macro.

    --
    				Brian Gerst
    
    

    diff -urN linux-2.6.8-rc2-bk/kernel/module.c linux/kernel/module.c
    --- linux-2.6.8-rc2-bk/kernel/module.c 2004-07-18 12:27:55.000000000 -0400
    +++ linux/kernel/module.c 2004-07-30 23:45:30.601452512 -0400
    @@ -51,9 +51,6 @@
     /* If this is set, the section belongs in the init part of the module */
     #define INIT_OFFSET_MASK (1UL << (BITS_PER_LONG-1))
     
    -#define symbol_is(literal, string) \
    - (strcmp(MODULE_SYMBOL_PREFIX literal, (string)) == 0)
    -
     /* Protects module list */
     static spinlock_t modlist_lock = SPIN_LOCK_UNLOCKED;
     

    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/


  • Next message: David Brownell: "Re: Solving suspend-level confusion"

    Relevant Pages