summaryrefslogtreecommitdiff
path: root/sys/dev/rnd.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-24 19:02:39 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-11-24 19:02:39 +0000
commit74becb27ba5c9e4db835d28864852d00923432e2 (patch)
treed9ceda59e4a34673cc5ff3c63ca9d9bb448f4a0e /sys/dev/rnd.c
parentf69dde6e219bf6814ada440d40f65b49bfdc4e03 (diff)
extra decl not needed; spotted by djm
Diffstat (limited to 'sys/dev/rnd.c')
-rw-r--r--sys/dev/rnd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/dev/rnd.c b/sys/dev/rnd.c
index 1a26cde7520..45288c708b9 100644
--- a/sys/dev/rnd.c
+++ b/sys/dev/rnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rnd.c,v 1.97 2008/11/24 16:36:41 deraadt Exp $ */
+/* $OpenBSD: rnd.c,v 1.98 2008/11/24 19:02:38 deraadt Exp $ */
/*
* rnd.c -- A strong random number generator
@@ -604,8 +604,6 @@ enqueue_randomness(int state, int val)
val += state << 13;
if (!rnd_attached) {
- struct rand_event *rep;
-
if ((rep = rnd_put()) == NULL) {
rndstats.rnd_drops++;
return;