Messages in this thread Patch in this message | | | Date | Fri, 30 Jul 2004 23:58:23 -0400 | From | Brian Gerst <> | Subject | [PATCH] Remove symbol_is() |
| |
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; | |