summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorBrian Gerst <bgerst@quark.didntduck.org>2004-08-01 20:15:07 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2004-08-01 20:15:07 -0700
commitdb386bbe60bb3e36e1ffa9e805302c1c5436d5ee (patch)
treef25177350c26d2499b1379defec4d8e91b83df6e /kernel
parente0f928add849a0ffcf8762bd6d21c8076b2aa8b3 (diff)
[PATCH] Remove symbol_is()
Remove the unused symbol_is() macro. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'kernel')
-rw-r--r--kernel/module.c3
1 files changed, 0 insertions, 3 deletions
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;