public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Adrian Bunk <bunk@stusta.de>
To: Andrew Morton <akpm@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] remove EXPORT_UNUSED_SYMBOL'ed symbols
Date: Fri, 1 Dec 2006 07:22:10 +0100	[thread overview]
Message-ID: <20061201062210.GM11084@stusta.de> (raw)

In time for 2.6.20, we can get rid of this junk.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 kernel/printk.c |    3 ---
 mm/bootmem.c    |    2 --
 mm/memory.c     |    1 -
 mm/mmzone.c     |    5 -----
 4 files changed, 11 deletions(-)

--- linux-2.6.19-rc6-mm2/kernel/printk.c.old	2006-12-01 06:54:08.000000000 +0100
+++ linux-2.6.19-rc6-mm2/kernel/printk.c	2006-12-01 06:54:15.000000000 +0100
@@ -53,8 +53,6 @@
 	DEFAULT_CONSOLE_LOGLEVEL,	/* default_console_loglevel */
 };
 
-EXPORT_UNUSED_SYMBOL(console_printk);  /*  June 2006  */
-
 /*
  * Low lever drivers may need that to know if they can schedule in
  * their unblank() callback or not. So let's export it.
@@ -753,7 +751,6 @@
 {
 	return console_locked;
 }
-EXPORT_UNUSED_SYMBOL(is_console_locked);  /*  June 2006  */
 
 /**
  * release_console_sem - unlock the console system
--- linux-2.6.19-rc6-mm2/mm/bootmem.c.old	2006-12-01 06:54:22.000000000 +0100
+++ linux-2.6.19-rc6-mm2/mm/bootmem.c	2006-12-01 06:54:26.000000000 +0100
@@ -27,8 +27,6 @@
 unsigned long min_low_pfn;
 unsigned long max_pfn;
 
-EXPORT_UNUSED_SYMBOL(max_pfn);  /*  June 2006  */
-
 static LIST_HEAD(bdata_list);
 #ifdef CONFIG_CRASH_DUMP
 /*
--- linux-2.6.19-rc6-mm2/mm/memory.c.old	2006-12-01 06:54:33.000000000 +0100
+++ linux-2.6.19-rc6-mm2/mm/memory.c	2006-12-01 06:54:36.000000000 +0100
@@ -1902,7 +1902,6 @@
 
 	return 0;
 }
-EXPORT_UNUSED_SYMBOL(vmtruncate_range);  /*  June 2006  */
 
 /**
  * swapin_readahead - swap in pages in hope we need them soon
--- linux-2.6.19-rc6-mm2/mm/mmzone.c.old	2006-12-01 06:54:49.000000000 +0100
+++ linux-2.6.19-rc6-mm2/mm/mmzone.c	2006-12-01 06:55:18.000000000 +0100
@@ -14,8 +14,6 @@
 	return NODE_DATA(first_online_node);
 }
 
-EXPORT_UNUSED_SYMBOL(first_online_pgdat);  /*  June 2006  */
-
 struct pglist_data *next_online_pgdat(struct pglist_data *pgdat)
 {
 	int nid = next_online_node(pgdat->node_id);
@@ -24,8 +22,6 @@
 		return NULL;
 	return NODE_DATA(nid);
 }
-EXPORT_UNUSED_SYMBOL(next_online_pgdat);  /*  June 2006  */
-
 
 /*
  * next_zone - helper magic for for_each_zone()
@@ -45,5 +41,4 @@
 	}
 	return zone;
 }
-EXPORT_UNUSED_SYMBOL(next_zone);  /*  June 2006  */
 


                 reply	other threads:[~2006-12-01  6:22 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=20061201062210.GM11084@stusta.de \
    --to=bunk@stusta.de \
    --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