]> git.hungrycats.org Git - linux/commitdiff
[PATCH] Remove symbol_is()
authorBrian Gerst <bgerst@quark.didntduck.org>
Mon, 2 Aug 2004 03:15:07 +0000 (20:15 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Mon, 2 Aug 2004 03:15:07 +0000 (20:15 -0700)
Remove the unused symbol_is() macro.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/module.c

index 858b34f4c33b1b3f0ee9052c5492fc97aac94b3c..dfe295ecf2f104dfb09678be30322c1da4f4127e 100644 (file)
@@ -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;