Commit c1c48e61 authored by Matt Mackall's avatar Matt Mackall Committed by Linus Torvalds

[PATCH] random: kill dead extract_state struct

Remove unused extract_timer_state struct.  It was formerly used to feedback
zero-entropy timing samples while extracting entropy, but that had a tendency
to overwhelm the batch processing queue and prevent storing real samples.
Signed-off-by: default avatarMatt Mackall <mpm@selenic.com>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8f64df3d
......@@ -777,7 +777,6 @@ struct timer_rand_state {
};
static struct timer_rand_state input_timer_state;
static struct timer_rand_state extract_timer_state;
static struct timer_rand_state *irq_timer_state[NR_IRQS];
/*
......@@ -1515,7 +1514,6 @@ static int __init rand_initialize(void)
#ifdef CONFIG_SYSCTL
sysctl_init_random(random_state);
#endif
extract_timer_state.dont_count_entropy = 1;
return 0;
err:
return -1;
......
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