Commit 85a139b8 authored by Christoph Hellwig's avatar Christoph Hellwig Committed by Linus Torvalds

[PATCH] remove dead exports from random.c

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 9eef2c6f
......@@ -698,7 +698,7 @@ static int __init batch_entropy_init(int size, struct entropy_store *r)
* hashing calculations during an interrupt in add_timer_randomness().
* Instead, the entropy is only added to the pool by keventd.
*/
void batch_entropy_store(u32 a, u32 b, int num)
static void batch_entropy_store(u32 a, u32 b, int num)
{
int new;
unsigned long flags;
......@@ -729,8 +729,6 @@ void batch_entropy_store(u32 a, u32 b, int num)
spin_unlock_irqrestore(&batch_lock, flags);
}
EXPORT_SYMBOL(batch_entropy_store);
/*
* Flush out the accumulated entropy operations, adding entropy to the passed
* store (normally random_state). If that store has enough entropy, alternate
......@@ -874,8 +872,6 @@ void add_keyboard_randomness(unsigned char scancode)
}
}
EXPORT_SYMBOL(add_keyboard_randomness);
void add_mouse_randomness(__u32 mouse_data)
{
add_timer_randomness(&mouse_timer_state, mouse_data);
......@@ -891,8 +887,6 @@ void add_interrupt_randomness(int irq)
add_timer_randomness(irq_timer_state[irq], 0x100+irq);
}
EXPORT_SYMBOL(add_interrupt_randomness);
void add_disk_randomness(struct gendisk *disk)
{
if (!disk || !disk->random)
......
......@@ -44,8 +44,6 @@ struct rand_pool_info {
extern void rand_initialize_irq(int irq);
extern void batch_entropy_store(u32 a, u32 b, int num);
extern void add_keyboard_randomness(unsigned char scancode);
extern void add_mouse_randomness(__u32 mouse_data);
extern void add_interrupt_randomness(int irq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment