Skip to contentSkip to conversation

Remove symbol_is()

PATCH New Brian Gerst 1 participant 1 message Jul 31, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Remove symbol_is()

Remove the unused symbol_is() macro.

--
Brian Gerst

kernel/module.c +0 -3
diff -urN linux-2.6.8-rc2-bk/kernel/module.c linux/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;