[PATCH 7/10] random pt2: kill dead extract_state struct

From: Matt Mackall
Date: Fri Jan 14 2005 - 20:12:14 EST


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: Matt Mackall <mpm@xxxxxxxxxxx>

Index: rnd/drivers/char/random.c
===================================================================
--- rnd.orig/drivers/char/random.c 2005-01-12 21:28:04.834899546 -0800
+++ rnd/drivers/char/random.c 2005-01-12 21:28:05.741783928 -0800
@@ -777,7 +777,6 @@
};

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 @@
#ifdef CONFIG_SYSCTL
sysctl_init_random(random_state);
#endif
- extract_timer_state.dont_count_entropy = 1;
return 0;
err:
return -1;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/