lkml.org 
[lkml]   [2004]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] Remove symbol_is()
Remove the unused symbol_is() macro.

--
Brian Gerst
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;
\
 
 \ /
  Last update: 2005-03-22 14:04    [W:0.260 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site