[PATCH] remove EXPORT_UNUSED_SYMBOL'ed symbols
In time for 2.6.20, we can get rid of this junk. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
a8f48a9561
commit
045f147f32
@ -53,8 +53,6 @@ int console_printk[4] = {
|
|||||||
DEFAULT_CONSOLE_LOGLEVEL, /* default_console_loglevel */
|
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
|
* Low lever drivers may need that to know if they can schedule in
|
||||||
* their unblank() callback or not. So let's export it.
|
* their unblank() callback or not. So let's export it.
|
||||||
@ -772,7 +770,6 @@ int is_console_locked(void)
|
|||||||
{
|
{
|
||||||
return console_locked;
|
return console_locked;
|
||||||
}
|
}
|
||||||
EXPORT_UNUSED_SYMBOL(is_console_locked); /* June 2006 */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* release_console_sem - unlock the console system
|
* release_console_sem - unlock the console system
|
||||||
|
@ -27,8 +27,6 @@ unsigned long max_low_pfn;
|
|||||||
unsigned long min_low_pfn;
|
unsigned long min_low_pfn;
|
||||||
unsigned long max_pfn;
|
unsigned long max_pfn;
|
||||||
|
|
||||||
EXPORT_UNUSED_SYMBOL(max_pfn); /* June 2006 */
|
|
||||||
|
|
||||||
static LIST_HEAD(bdata_list);
|
static LIST_HEAD(bdata_list);
|
||||||
#ifdef CONFIG_CRASH_DUMP
|
#ifdef CONFIG_CRASH_DUMP
|
||||||
/*
|
/*
|
||||||
|
@ -1902,7 +1902,6 @@ int vmtruncate_range(struct inode *inode, loff_t offset, loff_t end)
|
|||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EXPORT_UNUSED_SYMBOL(vmtruncate_range); /* June 2006 */
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* swapin_readahead - swap in pages in hope we need them soon
|
* swapin_readahead - swap in pages in hope we need them soon
|
||||||
|
@ -14,8 +14,6 @@ struct pglist_data *first_online_pgdat(void)
|
|||||||
return NODE_DATA(first_online_node);
|
return NODE_DATA(first_online_node);
|
||||||
}
|
}
|
||||||
|
|
||||||
EXPORT_UNUSED_SYMBOL(first_online_pgdat); /* June 2006 */
|
|
||||||
|
|
||||||
struct pglist_data *next_online_pgdat(struct pglist_data *pgdat)
|
struct pglist_data *next_online_pgdat(struct pglist_data *pgdat)
|
||||||
{
|
{
|
||||||
int nid = next_online_node(pgdat->node_id);
|
int nid = next_online_node(pgdat->node_id);
|
||||||
@ -24,8 +22,6 @@ struct pglist_data *next_online_pgdat(struct pglist_data *pgdat)
|
|||||||
return NULL;
|
return NULL;
|
||||||
return NODE_DATA(nid);
|
return NODE_DATA(nid);
|
||||||
}
|
}
|
||||||
EXPORT_UNUSED_SYMBOL(next_online_pgdat); /* June 2006 */
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* next_zone - helper magic for for_each_zone()
|
* next_zone - helper magic for for_each_zone()
|
||||||
@ -45,5 +41,4 @@ struct zone *next_zone(struct zone *zone)
|
|||||||
}
|
}
|
||||||
return zone;
|
return zone;
|
||||||
}
|
}
|
||||||
EXPORT_UNUSED_SYMBOL(next_zone); /* June 2006 */
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user