From d2aaab80e37b4e76e5cd539983916e5d7dbaf773 Mon Sep 17 00:00:00 2001 From: Jasper Lievisse Adriaanse Date: Sat, 28 Apr 2018 15:45:00 +0000 Subject: replace add_*_randomness with enqueue_randomness() this gets rid of the source annotation which doesn't really add anything other than adding complexitiy. randomess is generally good enough that the few extra bits that the source type would add are not worth it. ok mikeb@ deraadt@ --- sys/dev/usb/uonerng.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/dev/usb/uonerng.c') diff --git a/sys/dev/usb/uonerng.c b/sys/dev/usb/uonerng.c index a9f81810b73..9e59988a187 100644 --- a/sys/dev/usb/uonerng.c +++ b/sys/dev/usb/uonerng.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uonerng.c,v 1.2 2016/09/02 09:14:59 mpi Exp $ */ +/* $OpenBSD: uonerng.c,v 1.3 2018/04/28 15:44:59 jasper Exp $ */ /* * Copyright (C) 2015 Devin Reade * Copyright (C) 2015 Sean Levy @@ -424,7 +424,7 @@ uonerng_task(void *arg) int_count = len / sizeof(int); for (i = 0; i < int_count; i++) { - add_true_randomness(sc->sc_buf[i]); + enqueue_randomness(sc->sc_buf[i]); } bail: -- cgit v1.2.3