From 74becb27ba5c9e4db835d28864852d00923432e2 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 24 Nov 2008 19:02:39 +0000 Subject: extra decl not needed; spotted by djm --- sys/dev/rnd.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/dev/rnd.c') 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; -- cgit v1.2.3