* [PATCH] Remove symbol_is()
@ 2004-07-31 3:58 Brian Gerst
0 siblings, 0 replies; only message in thread
From: Brian Gerst @ 2004-07-31 3:58 UTC (permalink / raw)
To: Andrew Morton; +Cc: lkml
[-- Attachment #1: Type: text/plain, Size: 57 bytes --]
Remove the unused symbol_is() macro.
--
Brian Gerst
[-- Attachment #2: symbol_is-1 --]
[-- Type: text/plain, Size: 534 bytes --]
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;
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-07-31 4:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-31 3:58 [PATCH] Remove symbol_is() Brian Gerst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®