Messages in this thread Patch in this message | | | From | Matt Mackall <> | Subject | [PATCH 13/22] /dev/random: kill extract_timer_state | Date | Thu, 25 Mar 2004 17:57:44 -0600 |
| |
/dev/random kill extract_timer_state
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.
tiny-mpm/drivers/char/random.c | 3 --- 1 files changed, 3 deletions(-)
diff -puN drivers/char/random.c~kill-extract-state drivers/char/random.c --- tiny/drivers/char/random.c~kill-extract-state 2004-03-20 13:38:30.000000000 -0600 +++ tiny-mpm/drivers/char/random.c 2004-03-20 13:38:30.000000000 -0600 @@ -749,7 +749,6 @@ struct timer_rand_state { static struct timer_rand_state keyboard_timer_state; static struct timer_rand_state mouse_timer_state; -static struct timer_rand_state extract_timer_state; static struct timer_rand_state *irq_timer_state[NR_IRQS]; /* @@ -1490,8 +1489,6 @@ static int __init rand_initialize(void) irq_timer_state[i] = NULL; memset(&keyboard_timer_state, 0, sizeof(struct timer_rand_state)); memset(&mouse_timer_state, 0, sizeof(struct timer_rand_state)); - memset(&extract_timer_state, 0, sizeof(struct timer_rand_state)); - extract_timer_state.dont_count_entropy = 1; return 0; } module_init(rand_initialize); _ - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |