mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Brian Gerst <bgerst@quark.didntduck.org>
To: Andrew Morton <akpm@osdl.org>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] Remove symbol_is()
Date: Fri, 30 Jul 2004 23:58:23 -0400	[thread overview]
Message-ID: <410B18DF.1010003@quark.didntduck.org> (raw)

[-- 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;
 

                 reply	other threads:[~2004-07-31  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=410B18DF.1010003@quark.didntduck.org \
    --to=bgerst@quark.didntduck.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®