From db386bbe60bb3e36e1ffa9e805302c1c5436d5ee Mon Sep 17 00:00:00 2001 From: Brian Gerst Date: Sun, 1 Aug 2004 20:15:07 -0700 Subject: [PATCH] Remove symbol_is() Remove the unused symbol_is() macro. Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- kernel/module.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'kernel/module.c') diff --git a/kernel/module.c b/kernel/module.c index 858b34f4c33b..dfe295ecf2f1 100644 --- a/kernel/module.c +++ b/kernel/module.c @@ -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; -- cgit v1.2.3